Embedded Wireless Framework
Macros | Functions
ewf_interface_ra_uart.c File Reference

The Embedded Wireless Framework RA UART Host Interface API. More...

#include "ewf_interface_ra_uart.h"
#include "ewf_lib.h"

Macros

#define UART_ERROR_EVENTS
 

Functions

void user_uart_callback (uart_callback_args_t *p_args)
 UART user callback. More...
 
ewf_result ewf_interface_ra_uart_hardware_start (ewf_interface *interface_ptr)
 Start the RA UART hardware interface.
 
ewf_result ewf_interface_ra_uart_hardware_stop (ewf_interface *interface_ptr)
 Stop the RA UART hardware interface.
 
ewf_result ewf_interface_ra_uart_hardware_send (ewf_interface *interface_ptr, const uint8_t *const buffer, uint32_t length)
 Send a buffer using the RA UART hardware interface.
 
ewf_result ewf_interface_ra_uart_hardware_receive (ewf_interface *interface_ptr, uint8_t *buffer_ptr, uint32_t *buffer_length_ptr, bool wait)
 Receive a buffer using the RA UART hardware interface.
 

Detailed Description

The Embedded Wireless Framework RA UART Host Interface API.

Version
Preview

Macro Definition Documentation

◆ UART_ERROR_EVENTS

#define UART_ERROR_EVENTS
Value:
(UART_EVENT_BREAK_DETECT | UART_EVENT_ERR_OVERFLOW | UART_EVENT_ERR_FRAMING | \
UART_EVENT_ERR_PARITY) /* UART Error event bits mapped in registers */

Function Documentation

◆ user_uart_callback()

void user_uart_callback ( uart_callback_args_t *  p_args)

UART user callback.

Parameters
[in]p_argsThe UART callback arguments