Function xensiv_pasco2_plat_uart_read(void *, uint8_t *, size_t)¶
Defined in File xensiv_pasco2.h
Function Documentation¶
-
int32_t xensiv_pasco2_plat_uart_read(void *ctx, uint8_t *data, size_t len)¶
Target platform-specific function to read over UART.
- Parameters
ctx – [in] UART object
data – [out] Receive buffer
len – [in] Number of bytes to receive
- Returns
XENSIV_PASCO2_OK if the UART read was successful; an error indicating what went wrong otherwise