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