Struct bl602_sdk::uart::UART_CFG_Type [−][src]
#[repr(C)]pub struct UART_CFG_Type { pub uartClk: u32, pub baudRate: u32, pub dataBits: UART_DataBits_Type, pub stopBits: UART_StopBits_Type, pub parity: UART_Parity_Type, pub ctsFlowControl: BL_Fun_Type, pub rxDeglitch: BL_Fun_Type, pub rtsSoftwareControl: BL_Fun_Type, pub byteBitInverse: UART_ByteBitInverse_Type, }
Expand description
@brief UART configuration structure type definition
Fields
uartClk: u32< Uart module clock
baudRate: u32< Uart baudrate
dataBits: UART_DataBits_Type< Uart frame length of data bit
stopBits: UART_StopBits_Type< Uart frame length of stop bit
parity: UART_Parity_Type< Uart parity check type
ctsFlowControl: BL_Fun_Type< Enable or disable tx CTS flow control
rxDeglitch: BL_Fun_Type< Enable or disable rx input de-glitch function
rtsSoftwareControl: BL_Fun_Type< Enable or disable rx RTS output SW control mode
byteBitInverse: UART_ByteBitInverse_Type< Uart each data byte is send out LSB-first or MSB-first
Trait Implementations
Auto Trait Implementations
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> TPerforms the conversion.
pub fn into(self) -> U
pub fn into(self) -> UPerforms the conversion.