Type Alias gd32f1::gd32f130::usart0::ctl1::MsbfW

source ·
pub type MsbfW<'a, REG> = BitWriter<'a, REG, Msbf>;
Expand description

Field MSBF writer - Most significant bit first

Aliased Type§

struct MsbfW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> MsbfW<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn lsb(self) -> &'a mut W<REG>

Data is transmitted/received with data bit 0 first, following the start bit

source

pub fn msb(self) -> &'a mut W<REG>

Data is transmitted/received with MSB (bit 7/8/9) first, following the start bit