Struct stm32_metapac::rcc::regs::Gpiorstr
#[repr(transparent)]pub struct Gpiorstr(pub u32);
Expand description
GPIO reset register
Tuple Fields§
§0: u32
Implementations§
§impl Gpiorstr
impl Gpiorstr
pub fn set_gpioarst(&mut self, val: bool)
pub fn set_gpioarst(&mut self, val: bool)
I/O port A reset
pub fn set_gpiobrst(&mut self, val: bool)
pub fn set_gpiobrst(&mut self, val: bool)
I/O port B reset
pub fn set_gpiocrst(&mut self, val: bool)
pub fn set_gpiocrst(&mut self, val: bool)
I/O port A reset
pub fn set_gpiodrst(&mut self, val: bool)
pub fn set_gpiodrst(&mut self, val: bool)
I/O port D reset
pub fn set_gpioerst(&mut self, val: bool)
pub fn set_gpioerst(&mut self, val: bool)
I/O port E reset
pub fn set_gpiohrst(&mut self, val: bool)
pub fn set_gpiohrst(&mut self, val: bool)
I/O port H reset
Trait Implementations§
impl Copy for Gpiorstr
impl Eq for Gpiorstr
impl StructuralPartialEq for Gpiorstr
Auto Trait Implementations§
impl Freeze for Gpiorstr
impl RefUnwindSafe for Gpiorstr
impl Send for Gpiorstr
impl Sync for Gpiorstr
impl Unpin for Gpiorstr
impl UnwindSafe for Gpiorstr
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
)