#[repr(transparent)]pub struct MacCsrSwCtrl(pub u32);Expand description
F70RM Rev. 1 section 51.7.1.24; manual text line 151777.
Tuple Fields§
§0: u32Implementations§
Source§impl MacCsrSwCtrl
impl MacCsrSwCtrl
Sourcepub const fn rcwe(&self) -> bool
pub const fn rcwe(&self) -> bool
Register Clear on Write 1 Enable. When this bit is set, the access mode of some register fields changes to Clear on Write 1, the application needs to set that respective bit to 1 to clear it. When this bit is reset, the access mode of these register fields remain as Clear on Read. 0b - Register Clear on Write 1 is disabled 1b - Register Clear on Write 1 is enabled
Sourcepub const fn set_rcwe(&mut self, val: bool)
pub const fn set_rcwe(&mut self, val: bool)
Register Clear on Write 1 Enable. When this bit is set, the access mode of some register fields changes to Clear on Write 1, the application needs to set that respective bit to 1 to clear it. When this bit is reset, the access mode of these register fields remain as Clear on Read. 0b - Register Clear on Write 1 is disabled 1b - Register Clear on Write 1 is enabled
Trait Implementations§
Source§impl Clone for MacCsrSwCtrl
impl Clone for MacCsrSwCtrl
Source§fn clone(&self) -> MacCsrSwCtrl
fn clone(&self) -> MacCsrSwCtrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more