Struct Gcr
#[repr(transparent)]pub struct Gcr(pub u32);
Expand description
Global configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Gcr
impl Gcr
pub fn set_syncin(&mut self, val: u8)
pub fn set_syncin(&mut self, val: u8)
Synchronization inputs
pub const fn syncout(&self) -> u8
pub const fn syncout(&self) -> u8
Synchronization outputs These bits are set and cleared by software.
pub fn set_syncout(&mut self, val: u8)
pub fn set_syncout(&mut self, val: u8)
Synchronization outputs These bits are set and cleared by software.
Trait Implementations§
impl Copy for Gcr
impl Eq for Gcr
impl StructuralPartialEq for Gcr
Auto Trait Implementations§
impl Freeze for Gcr
impl RefUnwindSafe for Gcr
impl Send for Gcr
impl Sync for Gcr
impl Unpin for Gcr
impl UnwindSafe for Gcr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)