pub type Timer1Capcnt2ValueReg = RegValueT<Timer1Capcnt2ValueReg_SPEC>;Expand description
Timer1 value for event on GPIO2
Aliased Type§
pub struct Timer1Capcnt2ValueReg { /* private fields */ }Implementations§
Source§impl Timer1Capcnt2ValueReg
impl Timer1Capcnt2ValueReg
Sourcepub fn timer1_capcnt2_rtc_high(
self,
) -> RegisterField<11, 0x7ff, 1, 0, u16, u16, Timer1Capcnt2ValueReg_SPEC, R>
pub fn timer1_capcnt2_rtc_high( self, ) -> RegisterField<11, 0x7ff, 1, 0, u16, u16, Timer1Capcnt2ValueReg_SPEC, R>
In Counter mode : Not used In Capture mode: Gives the RTC time stamp (high part) when an IN2 event was occurred
Sourcepub fn timer1_capcnt2_value(
self,
) -> RegisterField<0, 0x7ff, 1, 0, u16, u16, Timer1Capcnt2ValueReg_SPEC, R>
pub fn timer1_capcnt2_value( self, ) -> RegisterField<0, 0x7ff, 1, 0, u16, u16, Timer1Capcnt2ValueReg_SPEC, R>
In Counter mode : Gives the number of timer clock cycles minus 1 which was measured during TIMER1_IN2_PERIOD_MAX periods of IN2 In Capture mode (TIMER1_IN2_STAMP_TYPE=0) : Gives the Counter value when an IN2 event was occurred In Capture mode (TIMER1_IN2_STAMP_TYPE=1) : Gives the RTC time stamp (low part) when an IN2 event was occurred
Trait Implementations§
Source§impl Default for Timer1Capcnt2ValueReg
impl Default for Timer1Capcnt2ValueReg
Source§fn default() -> Timer1Capcnt2ValueReg
fn default() -> Timer1Capcnt2ValueReg
Returns the “default value” for a type. Read more