#[repr(transparent)]pub struct Accessctrl(pub u16);Expand description
F70RM Rev. 1 section 54.5.1.50; manual text line 174694.
Tuple Fields§
§0: u16Implementations§
Source§impl Accessctrl
impl Accessctrl
Sourcepub const fn access(&self) -> bool
pub const fn access(&self) -> bool
APB Write Access. Enables APB write access for registers classified as static registers. See the list of static registers. 0b - Disabled 1b - Enabled
Sourcepub const fn set_access(&mut self, val: bool)
pub const fn set_access(&mut self, val: bool)
APB Write Access. Enables APB write access for registers classified as static registers. See the list of static registers. 0b - Disabled 1b - Enabled
Trait Implementations§
Source§impl Clone for Accessctrl
impl Clone for Accessctrl
Source§fn clone(&self) -> Accessctrl
fn clone(&self) -> Accessctrl
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 Accessctrl
impl Debug for Accessctrl
Source§impl Default for Accessctrl
impl Default for Accessctrl
Source§fn default() -> Accessctrl
fn default() -> Accessctrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for Accessctrl
impl PartialEq for Accessctrl
impl Copy for Accessctrl
impl Eq for Accessctrl
impl StructuralPartialEq for Accessctrl
Auto Trait Implementations§
impl Freeze for Accessctrl
impl RefUnwindSafe for Accessctrl
impl Send for Accessctrl
impl Sync for Accessctrl
impl Unpin for Accessctrl
impl UnwindSafe for Accessctrl
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