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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.