Type Alias avr_device::attiny85::usi::usicr::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