Type Alias xmc4800::usic0_ch0::sctr::WLE_W

source ·
pub type WLE_W<'a, REG> = FieldWriter<'a, REG, 4, WLE_A>;
Expand description

Field WLE writer - Word Length

Aliased Type§

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

Implementations§

source§

impl<'a, REG> WLE_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

The data word contains 1 data bit located at bit position 0.

source

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

The data word contains 2 data bits located at bit positions [1:0].

source

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

The data word contains 15 data bits located at bit positions [14:0].

source

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

The data word contains 16 data bits located at bit positions [15:0].