#[repr(transparent)]pub struct SgiAccessErr(pub u32);Expand description
Access Error
Tuple Fields§
§0: u32Implementations§
Source§impl SgiAccessErr
impl SgiAccessErr
Sourcepub const fn set_apb_notav(&mut self, val: bool)
pub const fn set_apb_notav(&mut self, val: bool)
APB Error: address not available
Sourcepub const fn set_apb_wrgmd(&mut self, val: bool)
pub const fn set_apb_wrgmd(&mut self, val: bool)
APB Error: Wrong access mode
Sourcepub const fn apb_master(&self) -> u8
pub const fn apb_master(&self) -> u8
APB Master that triggered first APB error (APB_WRGMD or APB_NOTAV)
Sourcepub const fn set_apb_master(&mut self, val: u8)
pub const fn set_apb_master(&mut self, val: u8)
APB Master that triggered first APB error (APB_WRGMD or APB_NOTAV)
Trait Implementations§
Source§impl Clone for SgiAccessErr
impl Clone for SgiAccessErr
Source§fn clone(&self) -> SgiAccessErr
fn clone(&self) -> SgiAccessErr
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 SgiAccessErr
impl Debug for SgiAccessErr
Source§impl Default for SgiAccessErr
impl Default for SgiAccessErr
Source§fn default() -> SgiAccessErr
fn default() -> SgiAccessErr
Returns the “default value” for a type. Read more
Source§impl PartialEq for SgiAccessErr
impl PartialEq for SgiAccessErr
impl Copy for SgiAccessErr
impl Eq for SgiAccessErr
impl StructuralPartialEq for SgiAccessErr
Auto Trait Implementations§
impl Freeze for SgiAccessErr
impl RefUnwindSafe for SgiAccessErr
impl Send for SgiAccessErr
impl Sync for SgiAccessErr
impl Unpin for SgiAccessErr
impl UnwindSafe for SgiAccessErr
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