Port¶
Functions
- ITALA_API_C ItalaError NODE_PortWrite (H_NODE hNode, uint8_t *pBuffer, int64_t address, int64_t length)
Writes a chunk of bytes to the port.
- Parameters:
hNode – [in] Handle to Node instance, should be a port node.
pBuffer – [in] Buffer containing the data to write to the port.
address – [in] The starting address within the port to write to.
length – [in] The number of bytes to write from the buffer.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occurs.
- ITALA_API_C ItalaError NODE_PortRead (H_NODE hNode, uint8_t *pBuffer, int64_t address, int64_t length)
Reads a chunk of bytes from the port.
- Parameters:
hNode – [in] Handle to Node instance, should be a port node.
pBuffer – [out] Buffer to store the data read from the port.
address – [in] The starting address within the port to read from.
length – [in] The number of bytes to read into the buffer.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occurs.