Register#
Functions
-
ITALA_API_C ItalaError NODE_RegisterSet(H_NODE hNode, uint8_t *pBuffer, int64_t length)#
Set the value of the register Node.
- Parameters:
hNode – [in] Handle to Node instance, should be a register node.
pBuffer – [in] Buffer with the value to set.
length – [in] Length of the buffer to set.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
-
ITALA_API_C ItalaError NODE_RegisterGet(H_NODE hNode, uint8_t *pBuffer, int64_t length)#
Get the value of the register Node.
- Parameters:
hNode – [in] Handle to Node instance, should be a register node.
pBuffer – [out] Buffer with the value retrived.
length – [inout] Length of the buffer to get.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
-
ITALA_API_C ItalaError NODE_RegisterGetLength(H_NODE hNode, int64_t *pLength)#
Get the length of the register Node.
- Parameters:
hNode – [in] Handle to Node instance, should be a register node.
pLength – [out] Buffer length retrived.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
-
ITALA_API_C ItalaError NODE_RegisterGetAddress(H_NODE hNode, int64_t *pLength)#
Get the address of the register Node.
- Parameters:
hNode – [in] Handle to Node instance, should be a register node.
pLength – [out] Address retrived.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.