psp_uart_tx


Use this function to send data over the UART.

Format

t_psp_uart_ret psp_uart_tx (
    const uint8_t      uid,
    uint8_t * const    p_buf,
    const uint32_t     buf_len,)

Arguments

Parameter Description Type
uid The unit ID. uint8_t
p_buf A pointer to the buffer to send data from. uint8_t *
buf_len The buffer length. uint32_t

Return Values

Return value Description
PSP_UART_SUCCESS Successful execution.
PSP_UART_ERROR Operation failed.