Struct Iopenr
#[repr(transparent)]pub struct Iopenr(pub u32);
Expand description
GPIO clock enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Iopenr
impl Iopenr
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_gpiofen(&mut self, val: bool)
pub fn set_gpiofen(&mut self, val: bool)
I/O port F clock enable.
Trait Implementations§
impl Copy for Iopenr
impl Eq for Iopenr
impl StructuralPartialEq for Iopenr
Auto Trait Implementations§
impl Freeze for Iopenr
impl RefUnwindSafe for Iopenr
impl Send for Iopenr
impl Sync for Iopenr
impl Unpin for Iopenr
impl UnwindSafe for Iopenr
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