pub struct ExternalTamperConfig {
pub trigger: Trigger,
pub filter: Filter,
pub pull: Pull,
}Expand description
Configuration for an external tamper channel.
Fields§
§trigger: TriggerActive level that triggers detection on this channel.
filter: FilterDebounce filter. This setting is shared by all external channels (FLTCR
is a single, chip-wide register), so the last call to
Tamp::configure_external_channel() wins for every channel.
pull: PullGPIO pull configuration for the tamper pin.
Trait Implementations§
Source§impl Clone for ExternalTamperConfig
impl Clone for ExternalTamperConfig
Source§fn clone(&self) -> ExternalTamperConfig
fn clone(&self) -> ExternalTamperConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalTamperConfig
impl Debug for ExternalTamperConfig
Source§impl Default for ExternalTamperConfig
impl Default for ExternalTamperConfig
impl Copy for ExternalTamperConfig
Auto Trait Implementations§
impl Freeze for ExternalTamperConfig
impl RefUnwindSafe for ExternalTamperConfig
impl Send for ExternalTamperConfig
impl Sync for ExternalTamperConfig
impl Unpin for ExternalTamperConfig
impl UnwindSafe for ExternalTamperConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more