Struct stm32_metapac::rcc::regs::Gpioenr
#[repr(transparent)]pub struct Gpioenr(pub u32);
Expand description
I/O port clock enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Gpioenr
impl Gpioenr
pub fn set_gpioaen(&mut self, val: bool)
pub fn set_gpioaen(&mut self, val: bool)
I/O port A clock enable This bit is set and cleared by software.
pub fn set_gpioben(&mut self, val: bool)
pub fn set_gpioben(&mut self, val: bool)
I/O port B clock enable This bit is set and cleared by software.
pub fn set_gpiocen(&mut self, val: bool)
pub fn set_gpiocen(&mut self, val: bool)
I/O port C clock enable This bit is set and cleared by software.
pub fn set_gpioden(&mut self, val: bool)
pub fn set_gpioden(&mut self, val: bool)
I/O port D clock enable This bit is set and cleared by software.
pub const fn gpioeen(&self) -> bool
pub const fn gpioeen(&self) -> bool
I/O port E clock enable(1) This bit is set and cleared by software.
pub fn set_gpioeen(&mut self, val: bool)
pub fn set_gpioeen(&mut self, val: bool)
I/O port E clock enable(1) This bit is set and cleared by software.
pub fn set_gpiofen(&mut self, val: bool)
pub fn set_gpiofen(&mut self, val: bool)
I/O port F clock enable This bit is set and cleared by software.
Trait Implementations§
impl Copy for Gpioenr
impl Eq for Gpioenr
impl StructuralPartialEq for Gpioenr
Auto Trait Implementations§
impl Freeze for Gpioenr
impl RefUnwindSafe for Gpioenr
impl Send for Gpioenr
impl Sync for Gpioenr
impl Unpin for Gpioenr
impl UnwindSafe for Gpioenr
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
)