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
impl Copy for ExternalTamperConfig
Source§impl Debug for ExternalTamperConfig
impl Debug for ExternalTamperConfig
Auto Trait Implementations§
impl Forget for ExternalTamperConfig
impl Freeze for ExternalTamperConfig
impl Move for ExternalTamperConfig
impl RefUnwindSafe for ExternalTamperConfig
impl Send for ExternalTamperConfig
impl Sync for ExternalTamperConfig
impl Unpin for ExternalTamperConfig
impl UnsafeUnpin for ExternalTamperConfig
impl UnwindSafe for ExternalTamperConfig
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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