pub type TAMP1TRG_W<'a, const O: u8> = BitWriter<'a, u32, TAFCR_SPEC, TAMP1TRG_A, O>;
Expand description
Field TAMP1TRG
writer - Active level for tamper 1
Implementations
sourceimpl<'a, const O: u8> TAMP1TRG_W<'a, O>
impl<'a, const O: u8> TAMP1TRG_W<'a, O>
sourcepub fn rising_edge(self) -> &'a mut W
pub fn rising_edge(self) -> &'a mut W
If TAMPFLT = 00: RTC_TAMPx input rising edge triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input staying low triggers a tamper detection event.
sourcepub fn falling_edge(self) -> &'a mut W
pub fn falling_edge(self) -> &'a mut W
If TAMPFLT = 00: RTC_TAMPx input staying high triggers a tamper detection event. If TAMPFLT ≠ 00: RTC_TAMPx input falling edge triggers a tamper detection event