#[repr(transparent)]pub struct Wac(pub u32);Expand description
Write Access Control
Tuple Fields§
§0: u32Implementations§
Source§impl Wac
impl Wac
Sourcepub const fn crw(&self) -> bool
pub const fn crw(&self) -> bool
Control Register Write Raw bit values: false (0) = Ignored: Writes to the Control register are ignored.; true (1) = Normal: Writes to the Control register complete as normal.
Sourcepub const fn set_crw(&mut self, val: bool)
pub const fn set_crw(&mut self, val: bool)
Control Register Write Raw bit values: false (0) = Ignored: Writes to the Control register are ignored.; true (1) = Normal: Writes to the Control register complete as normal.
Sourcepub const fn srw(&self) -> bool
pub const fn srw(&self) -> bool
Status Register Write Raw bit values: false (0) = Ignored: Writes to the Status Register are ignored.; true (1) = Normal: Writes to the Status Register complete as normal.
Sourcepub const fn set_srw(&mut self, val: bool)
pub const fn set_srw(&mut self, val: bool)
Status Register Write Raw bit values: false (0) = Ignored: Writes to the Status Register are ignored.; true (1) = Normal: Writes to the Status Register complete as normal.
Sourcepub const fn lrw(&self) -> bool
pub const fn lrw(&self) -> bool
Lock Register Write Raw bit values: false (0) = Ignored: Writes to the Lock register are ignored.; true (1) = Normal: Writes to the Lock register complete as normal.
Sourcepub const fn set_lrw(&mut self, val: bool)
pub const fn set_lrw(&mut self, val: bool)
Lock Register Write Raw bit values: false (0) = Ignored: Writes to the Lock register are ignored.; true (1) = Normal: Writes to the Lock register complete as normal.
Sourcepub const fn iew(&self) -> bool
pub const fn iew(&self) -> bool
Interrupt Enable Write Raw bit values: false (0) = Ignored: Writes to the Interrupt enable register are ignored.; true (1) = Normal: Writes to the Interrupt enable register complete as normal.
Sourcepub const fn set_iew(&mut self, val: bool)
pub const fn set_iew(&mut self, val: bool)
Interrupt Enable Write Raw bit values: false (0) = Ignored: Writes to the Interrupt enable register are ignored.; true (1) = Normal: Writes to the Interrupt enable register complete as normal.
Sourcepub const fn tsrw(&self) -> bool
pub const fn tsrw(&self) -> bool
Tamper Seconds Register Write Raw bit values: false (0) = Ignored: Writes to the Tamper Seconds register are ignored.; true (1) = Normal: Writes to the Tamper Seconds register complete as normal.
Sourcepub const fn set_tsrw(&mut self, val: bool)
pub const fn set_tsrw(&mut self, val: bool)
Tamper Seconds Register Write Raw bit values: false (0) = Ignored: Writes to the Tamper Seconds register are ignored.; true (1) = Normal: Writes to the Tamper Seconds register complete as normal.
Sourcepub const fn tew(&self) -> bool
pub const fn tew(&self) -> bool
Tamper Enable Write Raw bit values: false (0) = Ignored: Writes to the tamper enable register are ignored.; true (1) = Normal: Writes to the tamper enable register complete as normal.
Sourcepub const fn set_tew(&mut self, val: bool)
pub const fn set_tew(&mut self, val: bool)
Tamper Enable Write Raw bit values: false (0) = Ignored: Writes to the tamper enable register are ignored.; true (1) = Normal: Writes to the tamper enable register complete as normal.
Sourcepub const fn ppw(&self) -> bool
pub const fn ppw(&self) -> bool
Pin Polarity Write Raw bit values: false (0) = Ignored: Writes to the pin polarity register are ignored.; true (1) = Normal: Writes to the pin polarity register complete as normal.
Sourcepub const fn set_ppw(&mut self, val: bool)
pub const fn set_ppw(&mut self, val: bool)
Pin Polarity Write Raw bit values: false (0) = Ignored: Writes to the pin polarity register are ignored.; true (1) = Normal: Writes to the pin polarity register complete as normal.
Sourcepub const fn gfw0(&self) -> bool
pub const fn gfw0(&self) -> bool
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn set_gfw0(&mut self, val: bool)
pub const fn set_gfw0(&mut self, val: bool)
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn gfw1(&self) -> bool
pub const fn gfw1(&self) -> bool
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn set_gfw1(&mut self, val: bool)
pub const fn set_gfw1(&mut self, val: bool)
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn gfw2(&self) -> bool
pub const fn gfw2(&self) -> bool
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn set_gfw2(&mut self, val: bool)
pub const fn set_gfw2(&mut self, val: bool)
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn gfw3(&self) -> bool
pub const fn gfw3(&self) -> bool
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn set_gfw3(&mut self, val: bool)
pub const fn set_gfw3(&mut self, val: bool)
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn gfw4(&self) -> bool
pub const fn gfw4(&self) -> bool
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn set_gfw4(&mut self, val: bool)
pub const fn set_gfw4(&mut self, val: bool)
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn gfw5(&self) -> bool
pub const fn gfw5(&self) -> bool
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn set_gfw5(&mut self, val: bool)
pub const fn set_gfw5(&mut self, val: bool)
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn gfw6(&self) -> bool
pub const fn gfw6(&self) -> bool
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal
Sourcepub const fn set_gfw6(&mut self, val: bool)
pub const fn set_gfw6(&mut self, val: bool)
Glitch Filter Write Raw bit values: false (0) = Ignored: Writes are ignored; true (1) = Normal: Writes complete as normal