Module bl602_sdk::uart [−][src]
Expand description
UART HAL for BL602. See https://lupyuen.github.io/articles/book#uart-on-bl602
Structs
@brief UART configuration structure type definition
@brief UART FIFO configuration structure type definition
@brief UART infrared configuration structure type definition
Constants
< UART auto baudrate detection using codeword 0x55
< UART auto baudrate detection using start bit
< UART each byte is send out LSB-first
< UART each byte is send out MSB-first
< UART data bits length:5 bits
< UART data bits length:6 bits
< UART data bits length:7 bits
< UART data bits length:8 bits
< UART RX Direction
< UART TX Direction
< UART TX and RX Direction
< UART0 port define
< UART1 port define
< UART MAX ID define
< All the interrupt
< UART rx parity check error interrupt
< UART rx time-out interrupt
< UART rx transfer end interrupt
< UART rx fifo overflow/underflow error interrupt
< UART rx fifo interrupt when rx fifo count reaches,auto clear
< UART tx transfer end interrupt
< UART tx fifo overflow/underflow error interrupt
< UART tx fifo interrupt when tx fifo count reaches,auto clear
< UART rx fifo overflow
< UART rx fifo underflow
< UART tx fifo overflow
< UART tx fifo underflow
< UART parity even define
< UART parity none define
< UART parity odd define
< UART data stop bits length:1 bits
< UART data stop bits length:1.5 bits
< UART data stop bits length:2 bits
Functions
Receive data from a UART Port (non-blocking). See bl_uart_data_recv
in “Receive Data” https://lupyuen.github.io/articles/uart#receive-data
Transmit data to a UART Port. See bl_uart_data_send
in “Transmit Data” https://lupyuen.github.io/articles/uart#transmit-data
Initialise a UART Port. See bl_uart_init
in “Initialise UART Port” https://lupyuen.github.io/articles/uart#initialise-uart-port
Type Definitions
@brief Error type definition
@brief Functional type definition
@brief Mask type definition
@brief Status type definition
@brief UART auto baudrate detection using codeword 0x55 or start bit definiton
@brief UART each data byte is send out LSB-first or MSB-first type definiton
@brief UART data bits type definiton
@brief UART direction type definition
@brief UART port type definition
@brief UART interrupt type definition
@brief UART overflow or underflow type definition
@brief UART parity type definition
@brief UART stop bits type definiton
@brief Interrupt callback function type