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)
I/O port A clock enable
pub fn set_gpioben(&mut self, val: bool)
pub fn set_gpioben(&mut self, val: bool)
I/O port B clock enable
pub fn set_gpiocen(&mut self, val: bool)
pub fn set_gpiocen(&mut self, val: bool)
I/O port C 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_gpiofen(&mut self, val: bool)
pub fn set_gpiofen(&mut self, val: bool)
I/O port F clock enable
Trait Implementations§
impl Copy for Gpioenr
impl Eq for Gpioenr
impl StructuralEq for Gpioenr
impl StructuralPartialEq for Gpioenr
Auto Trait Implementations§
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