pub type Timer2StatusReg = RegValueT<Timer2StatusReg_SPEC>;Expand description
Timer status register
Aliased Type§
pub struct Timer2StatusReg { /* private fields */ }Implementations§
Source§impl Timer2StatusReg
impl Timer2StatusReg
Sourcepub fn tim_oneshot_phase(
self,
) -> RegisterField<2, 0x3, 1, 0, u8, u8, Timer2StatusReg_SPEC, R>
pub fn tim_oneshot_phase( self, ) -> RegisterField<2, 0x3, 1, 0, u8, u8, Timer2StatusReg_SPEC, R>
OneShot phase 0 = Wait for event 1 = Delay phase 2 = Start Shot 3 = Shot phase
Sourcepub fn tim_in2_state(
self,
) -> RegisterFieldBool<1, 1, 0, Timer2StatusReg_SPEC, R>
pub fn tim_in2_state( self, ) -> RegisterFieldBool<1, 1, 0, Timer2StatusReg_SPEC, R>
Gives the logic level of the IN1
Sourcepub fn tim_in1_state(
self,
) -> RegisterFieldBool<0, 1, 0, Timer2StatusReg_SPEC, R>
pub fn tim_in1_state( self, ) -> RegisterFieldBool<0, 1, 0, Timer2StatusReg_SPEC, R>
Gives the logic level of the IN2
Trait Implementations§
Source§impl Default for Timer2StatusReg
impl Default for Timer2StatusReg
Source§fn default() -> Timer2StatusReg
fn default() -> Timer2StatusReg
Returns the “default value” for a type. Read more