#[repr(transparent)]pub struct Sensitivity(pub u32);
Expand description
Adjust the sensitivity of glitch detectors to values other than their OTP-provided defaults. This register is Secure read/write only.
Tuple Fields§
§0: u32
Implementations§
Source§impl Sensitivity
impl Sensitivity
Sourcepub const fn det0(&self) -> u8
pub const fn det0(&self) -> u8
Set sensitivity for detector 0. Higher values are more sensitive.
Sourcepub fn set_det0(&mut self, val: u8)
pub fn set_det0(&mut self, val: u8)
Set sensitivity for detector 0. Higher values are more sensitive.
Sourcepub const fn det1(&self) -> u8
pub const fn det1(&self) -> u8
Set sensitivity for detector 1. Higher values are more sensitive.
Sourcepub fn set_det1(&mut self, val: u8)
pub fn set_det1(&mut self, val: u8)
Set sensitivity for detector 1. Higher values are more sensitive.
Sourcepub const fn det2(&self) -> u8
pub const fn det2(&self) -> u8
Set sensitivity for detector 2. Higher values are more sensitive.
Sourcepub fn set_det2(&mut self, val: u8)
pub fn set_det2(&mut self, val: u8)
Set sensitivity for detector 2. Higher values are more sensitive.
Sourcepub const fn det3(&self) -> u8
pub const fn det3(&self) -> u8
Set sensitivity for detector 3. Higher values are more sensitive.
Sourcepub fn set_det3(&mut self, val: u8)
pub fn set_det3(&mut self, val: u8)
Set sensitivity for detector 3. Higher values are more sensitive.
Sourcepub const fn det0_inv(&self) -> u8
pub const fn det0_inv(&self) -> u8
Must be the inverse of DET0, else the default value is used.
Sourcepub fn set_det0_inv(&mut self, val: u8)
pub fn set_det0_inv(&mut self, val: u8)
Must be the inverse of DET0, else the default value is used.
Sourcepub const fn det1_inv(&self) -> u8
pub const fn det1_inv(&self) -> u8
Must be the inverse of DET1, else the default value is used.
Sourcepub fn set_det1_inv(&mut self, val: u8)
pub fn set_det1_inv(&mut self, val: u8)
Must be the inverse of DET1, else the default value is used.
Sourcepub const fn det2_inv(&self) -> u8
pub const fn det2_inv(&self) -> u8
Must be the inverse of DET2, else the default value is used.
Sourcepub fn set_det2_inv(&mut self, val: u8)
pub fn set_det2_inv(&mut self, val: u8)
Must be the inverse of DET2, else the default value is used.
Sourcepub const fn det3_inv(&self) -> u8
pub const fn det3_inv(&self) -> u8
Must be the inverse of DET3, else the default value is used.
Sourcepub fn set_det3_inv(&mut self, val: u8)
pub fn set_det3_inv(&mut self, val: u8)
Must be the inverse of DET3, else the default value is used.
pub const fn default(&self) -> Default
pub fn set_default(&mut self, val: Default)
Trait Implementations§
Source§impl Clone for Sensitivity
impl Clone for Sensitivity
Source§fn clone(&self) -> Sensitivity
fn clone(&self) -> Sensitivity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more