#[non_exhaustive]pub struct BbqConfig {
pub power: PoweredClock,
pub source: LpuartClockSel,
pub div: Div4,
pub baudrate_bps: u32,
pub parity_mode: Option<Pt>,
pub data_bits_count: M,
pub msb_first: Msbf,
pub stop_bits_count: Sbns,
pub rx_idle_config: Idlecfg,
}Expand description
Lpuart config
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.power: PoweredClockPower state required for this peripheral
source: LpuartClockSelClock source
div: Div4Clock divisor
baudrate_bps: u32Baud rate in bits per second
parity_mode: Option<Pt>Parity configuration
data_bits_count: MNumber of data bits
msb_first: MsbfMSB First or LSB First configuration
stop_bits_count: SbnsNumber of stop bits
rx_idle_config: IdlecfgRX IDLE configuration
Trait Implementations§
impl Copy for BbqConfig
Auto Trait Implementations§
impl Freeze for BbqConfig
impl RefUnwindSafe for BbqConfig
impl Send for BbqConfig
impl Sync for BbqConfig
impl Unpin for BbqConfig
impl UnwindSafe for BbqConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more