pub type USIWM_W<'a, const O: u8> = FieldWriterSafe<'a, u8, USICR_SPEC, u8, USIWM_A, 2, O>;
Expand description
Field USIWM
writer - USI Wire Mode Bits
Aliased Type§
struct USIWM_W<'a, const O: u8> { /* private fields */ }
Implementations§
source§impl<'a, const O: u8> USIWM_W<'a, O>
impl<'a, const O: u8> USIWM_W<'a, O>
sourcepub fn three_wire(self) -> &'a mut W
pub fn three_wire(self) -> &'a mut W
Three-wire mode. Uses DO, DI, and USCK pins.
sourcepub fn two_wire_slave(self) -> &'a mut W
pub fn two_wire_slave(self) -> &'a mut W
Two-wire mode (Slave). Uses SDA (DI) and SCL (USCK) pins.
sourcepub fn two_wire_master(self) -> &'a mut W
pub fn two_wire_master(self) -> &'a mut W
Two-wire mode (Master). Uses SDA and SCL pins.