Struct Gcr
#[repr(transparent)]pub struct Gcr(pub u32);Expand description
Global configuration register
Tuple Fields§
§0: u32Implementations§
§impl Gcr
impl Gcr
pub const fn syncin(&self) -> u8
pub const fn syncin(&self) -> u8
Synchronization inputs. Selects which external SAI the audio sub-blocks configured with SYNCEN = External synchronize with; the encoding depends on the SAI instance (see the “External synchronization selection” table in the reference manual)
pub const fn set_syncin(&mut self, val: u8)
pub const fn set_syncin(&mut self, val: u8)
Synchronization inputs. Selects which external SAI the audio sub-blocks configured with SYNCEN = External synchronize with; the encoding depends on the SAI instance (see the “External synchronization selection” table in the reference manual)
pub const fn syncout(&self) -> Syncout
pub const fn syncout(&self) -> Syncout
Synchronization outputs. These bits are set and cleared by software.
pub const fn set_syncout(&mut self, val: Syncout)
pub const fn set_syncout(&mut self, val: Syncout)
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 UnsafeUnpin 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