Function xensiv_pas_gas_plat_uart_read(void *, uint8_t *, size_t)
Defined in File xensiv_pas_gas_pal_ino.cpp
Function Documentation
-
int32_t xensiv_pas_gas_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_PAS_GAS_OK if the UART read was successful; an error indicating what went wrong otherwise