Mistake on this page?
Report an issue in GitHub or email us
Typedefs | Functions
WSF_BUF_IO_API

Typedefs

typedef void(* WsfBufIoUartRxCback_t) (uint8_t rxByte)
 Buffer IO UART Rx callback. More...
 

Functions

uint32_t WsfBufIoUartInit (void *pBuf, uint32_t size)
 Initialize the platform UART. More...
 
void WsfBufIoUartRegister (WsfBufIoUartRxCback_t rxCback)
 Register the platform UART RX callback. More...
 
bool_t WsfBufIoWrite (const uint8_t *pBuf, uint32_t len)
 Transmit buffer on platform UART. More...
 

Detailed Description

Typedef Documentation

typedef void(* WsfBufIoUartRxCback_t) (uint8_t rxByte)

Buffer IO UART Rx callback.

Definition at line 48 of file wsf_bufio.h.

Function Documentation

uint32_t WsfBufIoUartInit ( void *  pBuf,
uint32_t  size 
)

Initialize the platform UART.

Parameters
pBufTx Buffer pointer.
sizeLength of buffer.
Returns
memory used.
void WsfBufIoUartRegister ( WsfBufIoUartRxCback_t  rxCback)

Register the platform UART RX callback.

Parameters
[in]Callbackfunction for UART RX.
bool_t WsfBufIoWrite ( const uint8_t *  pBuf,
uint32_t  len 
)

Transmit buffer on platform UART.

Parameters
pBufBuffer to transmit.
lenLength of buffer in octets.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.