Struct stm32_metapac::rcc::regs::Gpioenr
#[repr(transparent)]pub struct Gpioenr(pub u32);
Expand description
GPIO 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)
IO port A clock enable
pub fn set_gpioben(&mut self, val: bool)
pub fn set_gpioben(&mut self, val: bool)
IO port B clock enable
pub fn set_gpiocen(&mut self, val: bool)
pub fn set_gpiocen(&mut self, val: bool)
IO port A clock enable
pub fn set_gpioden(&mut self, val: bool)
pub fn set_gpioden(&mut self, val: bool)
I/O port D clock enable
pub fn set_gpioeen(&mut self, val: bool)
pub fn set_gpioeen(&mut self, val: bool)
IO port E clock enable
pub fn set_gpiohen(&mut self, val: bool)
pub fn set_gpiohen(&mut self, val: bool)
I/O port H clock enable
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
)