Struct Fltcr
#[repr(transparent)]pub struct Fltcr(pub u32);Expand description
TAMP filter control register.
Tuple Fields§
§0: u32Implementations§
§impl Fltcr
impl Fltcr
pub const fn tampfreq(&self) -> Tampfreq
pub const fn tampfreq(&self) -> Tampfreq
Tamper sampling frequency. Determines the frequency at which each of the TAMP_INx inputs are sampled.
pub const fn set_tampfreq(&mut self, val: Tampfreq)
pub const fn set_tampfreq(&mut self, val: Tampfreq)
Tamper sampling frequency. Determines the frequency at which each of the TAMP_INx inputs are sampled.
pub const fn tampflt(&self) -> Tampflt
pub const fn tampflt(&self) -> Tampflt
TAMP_INx filter count. Determines the number of consecutive samples at the specified level (TAMPxTRG) needed to activate a tamper event. TAMPFLT is valid for each of the TAMP_INx inputs.
pub const fn set_tampflt(&mut self, val: Tampflt)
pub const fn set_tampflt(&mut self, val: Tampflt)
TAMP_INx filter count. Determines the number of consecutive samples at the specified level (TAMPxTRG) needed to activate a tamper event. TAMPFLT is valid for each of the TAMP_INx inputs.
pub const fn tampprch(&self) -> Tampprch
pub const fn tampprch(&self) -> Tampprch
TAMP_INx precharge duration. Determines the duration of time during which the pull-up is activated before each sample. TAMPPRCH is valid for each of the TAMP_INx inputs.
pub const fn set_tampprch(&mut self, val: Tampprch)
pub const fn set_tampprch(&mut self, val: Tampprch)
TAMP_INx precharge duration. Determines the duration of time during which the pull-up is activated before each sample. TAMPPRCH is valid for each of the TAMP_INx inputs.
pub const fn tamppudis(&self) -> bool
pub const fn tamppudis(&self) -> bool
TAMP_INx pull-up disable. Determines if each of the TAMP_INx pins are precharged before each sample. 0: precharge TAMP_INx pins before sampling (enable internal pull-up). 1: disable precharge of TAMP_INx pins.
pub const fn set_tamppudis(&mut self, val: bool)
pub const fn set_tamppudis(&mut self, val: bool)
TAMP_INx pull-up disable. Determines if each of the TAMP_INx pins are precharged before each sample. 0: precharge TAMP_INx pins before sampling (enable internal pull-up). 1: disable precharge of TAMP_INx pins.