Struct Ahbrstr
#[repr(transparent)]pub struct Ahbrstr(pub u32);Expand description
AHB peripheral reset register
Tuple Fields§
§0: u32Implementations§
§impl Ahbrstr
impl Ahbrstr
pub const fn set_gpioarst(&mut self, val: bool)
pub const fn set_gpioarst(&mut self, val: bool)
IO port A reset
pub const fn set_gpiobrst(&mut self, val: bool)
pub const fn set_gpiobrst(&mut self, val: bool)
IO port B reset
pub const fn set_gpiocrst(&mut self, val: bool)
pub const fn set_gpiocrst(&mut self, val: bool)
IO port C reset
pub const fn set_gpiodrst(&mut self, val: bool)
pub const fn set_gpiodrst(&mut self, val: bool)
IO port D reset
pub const fn set_gpioerst(&mut self, val: bool)
pub const fn set_gpioerst(&mut self, val: bool)
IO port E reset
pub const fn set_gpiohrst(&mut self, val: bool)
pub const fn set_gpiohrst(&mut self, val: bool)
IO port H reset
pub const fn set_gpiofrst(&mut self, val: bool)
pub const fn set_gpiofrst(&mut self, val: bool)
IO port F reset
pub const fn set_gpiogrst(&mut self, val: bool)
pub const fn set_gpiogrst(&mut self, val: bool)
IO port G reset
pub const fn set_crcrst(&mut self, val: bool)
pub const fn set_crcrst(&mut self, val: bool)
CRC reset
pub const fn set_flashrst(&mut self, val: bool)
pub const fn set_flashrst(&mut self, val: bool)
FLASH reset
pub const fn set_dma1rst(&mut self, val: bool)
pub const fn set_dma1rst(&mut self, val: bool)
DMA1 reset
pub const fn set_dma2rst(&mut self, val: bool)
pub const fn set_dma2rst(&mut self, val: bool)
DMA2 reset
pub const fn set_fsmcrst(&mut self, val: bool)
pub const fn set_fsmcrst(&mut self, val: bool)
FSMC reset
Trait Implementations§
impl Copy for Ahbrstr
impl Eq for Ahbrstr
impl StructuralPartialEq for Ahbrstr
Auto Trait Implementations§
impl Freeze for Ahbrstr
impl RefUnwindSafe for Ahbrstr
impl Send for Ahbrstr
impl Sync for Ahbrstr
impl Unpin for Ahbrstr
impl UnwindSafe for Ahbrstr
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