Function xensiv_pasco2_plat_uart_write(void *, uint8_t *, size_t)

Function Documentation

int32_t xensiv_pasco2_plat_uart_write(void *ctx, uint8_t *data, size_t len)

Target platform-specific function to write over UART.

Parameters
  • ctx[in] UART object

  • data[in] Transmit buffer

  • len[in] Number of bytes to transmit

Returns

XENSIV_PASCO2_OK if the UART write was successful; an error indicating what went wrong otherwise