pub type USIWM_R = FieldReader<USIWM_A>;Expand description
Field USIWM reader - USI Wire Mode Bits
Aliased Type§
struct USIWM_R { /* private fields */ }Implementations§
Source§impl USIWM_R
impl USIWM_R
Sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
All detectors disabled. Port pins operates as normal.
Sourcepub fn is_three_wire(&self) -> bool
pub fn is_three_wire(&self) -> bool
Three-wire mode. Uses DO, DI, and USCK pins.
Sourcepub fn is_two_wire_slave(&self) -> bool
pub fn is_two_wire_slave(&self) -> bool
Two-wire mode (Slave). Uses SDA (DI) and SCL (USCK) pins.
Sourcepub fn is_two_wire_master(&self) -> bool
pub fn is_two_wire_master(&self) -> bool
Two-wire mode (Master). Uses SDA and SCL pins.