Type Alias xmc4800::usic0_ch0::sctr::WLE_R

source ·
pub type WLE_R = FieldReader<WLE_A>;
Expand description

Field WLE reader - Word Length

Aliased Type§

struct WLE_R { /* private fields */ }

Implementations§

source§

impl WLE_R

source

pub const fn variant(&self) -> Option<WLE_A>

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

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

source

pub fn is_value2(&self) -> bool

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

source

pub fn is_value3(&self) -> bool

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

source

pub fn is_value4(&self) -> bool

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