MsbfW

Type Alias MsbfW 

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

Field MSBF writer - MSB First

Aliased Type§

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

Implementations§

§

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

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

LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0.

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

MSB (bit9, bit8, bit7 or bit6) is the first bit that is transmitted following the start bit depending on the setting of CTRL[M], CTRL[PE] and BAUD[M10]. Further, the first bit received after the start bit is identified as bit9, bit8, bit7 or bit6 depending on the setting of CTRL[M] and CTRL[PE].