monoZ docs
MZ_UARTX Struct Reference

Structure for UART Handling and API events. More...

#include <MZ_uart.h>

Data Fields

mzReg _reg_status
 
UART_HandleTypeDef _handler
 
mzUint8 _enable
 
mzUint8_rx_buffer
 
mzUint32 _rx_buffer_size
 
mzUint8_tx_buffer
 
mzUint32 _tx_buffer_size
 
mzUint8 _rx_intr
 
mzUint8 _tx_intr
 
_uart_api read
 
_uart_api write
 
_uart_api rx_intr_api
 
_uart_api tx_intr_api
 
_uart_api UART_ev_call_back
 

Detailed Description

Structure for UART Handling and API events.

Definition at line 57 of file MZ_uart.h.

Field Documentation

◆ _reg_status

mzReg _reg_status

UART registration status

Definition at line 59 of file MZ_uart.h.

◆ _handler

UART_HandleTypeDef _handler

UART low level handler

Definition at line 60 of file MZ_uart.h.

◆ _enable

mzUint8 _enable

UART enable flag

Definition at line 61 of file MZ_uart.h.

◆ _rx_buffer

mzUint8* _rx_buffer

UART RX buffer address

Definition at line 62 of file MZ_uart.h.

◆ _rx_buffer_size

mzUint32 _rx_buffer_size

UART RX buffer size

Definition at line 63 of file MZ_uart.h.

◆ _tx_buffer

mzUint8* _tx_buffer

UART TX buffer address

Definition at line 64 of file MZ_uart.h.

◆ _tx_buffer_size

mzUint32 _tx_buffer_size

UART TX buffer size

Definition at line 65 of file MZ_uart.h.

◆ _rx_intr

mzUint8 _rx_intr

UART RX interrupt enable flag

Definition at line 66 of file MZ_uart.h.

◆ _tx_intr

mzUint8 _tx_intr

UART TX interrupt enable flag

Definition at line 67 of file MZ_uart.h.

◆ read

_uart_api read

UART Read API

Definition at line 68 of file MZ_uart.h.

◆ write

_uart_api write

UART Write API

Definition at line 69 of file MZ_uart.h.

◆ rx_intr_api

_uart_api rx_intr_api

UART RX interrupt handler API

Definition at line 70 of file MZ_uart.h.

◆ tx_intr_api

_uart_api tx_intr_api

UART TX interrupt handler API

Definition at line 71 of file MZ_uart.h.

◆ UART_ev_call_back

_uart_api UART_ev_call_back

UART event callback API

Definition at line 73 of file MZ_uart.h.


The documentation for this struct was generated from the following file: