Astra MCU SDK Peripheral Driver Library
 
Loading...
Searching...
No Matches
Data Structures

Data structures for UART driver. More...

Data Structures

struct  uart_usr_lsr_status_bits_t
 Combined UART USR (Status Register) and LSR (Line Status Register) bitfield. More...
 
struct  uart_hw_status_t
 UART instance hardware status structure. More...
 
struct  uart_config_t
 UART control configuration structure. More...
 
struct  uart_put_config_t
 UART transmit configuration structure. More...
 
struct  uart_get_config_t
 UART receive configuration structure. More...
 

Typedefs

typedef void(* uart_cb_t) (uint32_t event_mask, void *user_data)
 UART event callback function type.
 

Detailed Description

Data structures for UART driver.

Typedef Documentation

◆ uart_cb_t

typedef void(* uart_cb_t) (uint32_t event_mask, void *user_data)

UART event callback function type.

This type defines a function pointer used for event-driven UART communication.

Parameters
event_maskBitmask representing the triggered UART events.
Refer to uart_cb_param_en for valid event values.
user_dataOpaque pointer provided by the application