Struct Advcfgr
#[repr(transparent)]pub struct Advcfgr(pub u32);Expand description
GPIO advanced configuration register (only on STM32N6). Contains 8 groups of fields, for pins 0-7 (ADVCFGRL) or pins 8-15 (ADVCFGRH).
Tuple Fields§
§0: u32Implementations§
§impl Advcfgr
impl Advcfgr
pub const fn dlypath(&self, n: usize) -> bool
pub const fn dlypath(&self, n: usize) -> bool
Delay path selection: 0 = delay in the output path, 1 = delay in the input path
pub const fn set_dlypath(&mut self, n: usize, val: bool)
pub const fn set_dlypath(&mut self, n: usize, val: bool)
Delay path selection: 0 = delay in the output path, 1 = delay in the input path
pub const fn invclk(&self, n: usize) -> bool
pub const fn invclk(&self, n: usize) -> bool
Clock inversion selection: 0 = retime on rising edge, 1 = retime on falling edge
pub const fn set_invclk(&mut self, n: usize, val: bool)
pub const fn set_invclk(&mut self, n: usize, val: bool)
Clock inversion selection: 0 = retime on rising edge, 1 = retime on falling edge
Trait Implementations§
impl Copy for Advcfgr
impl Eq for Advcfgr
impl StructuralPartialEq for Advcfgr
Auto Trait Implementations§
impl Freeze for Advcfgr
impl RefUnwindSafe for Advcfgr
impl Send for Advcfgr
impl Sync for Advcfgr
impl Unpin for Advcfgr
impl UnsafeUnpin for Advcfgr
impl UnwindSafe for Advcfgr
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