Type Alias USIWM_R

Source
pub type USIWM_R = FieldReader<u8, USIWM_A>;
Expand description

Field USIWM reader - USI Wire Mode Bits

Aliased Type§

struct USIWM_R { /* private fields */ }

Implementations§

Source§

impl USIWM_R

Source

pub fn variant(&self) -> USIWM_A

Get enumerated values variant

Source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

Source

pub fn is_three_wire(&self) -> bool

Checks if the value of the field is THREE_WIRE

Source

pub fn is_two_wire_slave(&self) -> bool

Checks if the value of the field is TWO_WIRE_SLAVE

Source

pub fn is_two_wire_master(&self) -> bool

Checks if the value of the field is TWO_WIRE_MASTER