Struct Ahb1rstr
#[repr(transparent)]pub struct Ahb1rstr(pub u32);
Expand description
RCC AHB1 Peripheral Reset Register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb1rstr
impl Ahb1rstr
pub fn set_dma1rst(&mut self, val: bool)
pub fn set_dma1rst(&mut self, val: bool)
DMA1 block reset
pub fn set_dma2rst(&mut self, val: bool)
pub fn set_dma2rst(&mut self, val: bool)
DMA2 block reset
pub fn set_adc12rst(&mut self, val: bool)
pub fn set_adc12rst(&mut self, val: bool)
ADC1&2 block reset
pub fn set_artrst(&mut self, val: bool)
pub fn set_artrst(&mut self, val: bool)
ART block reset
pub const fn eth1macrst(&self) -> bool
pub const fn eth1macrst(&self) -> bool
ETH1MAC block reset
pub fn set_eth1macrst(&mut self, val: bool)
pub fn set_eth1macrst(&mut self, val: bool)
ETH1MAC block reset
pub const fn usb_otg_hsrst(&self) -> bool
pub const fn usb_otg_hsrst(&self) -> bool
USB_OTG_HS block reset
pub fn set_usb_otg_hsrst(&mut self, val: bool)
pub fn set_usb_otg_hsrst(&mut self, val: bool)
USB_OTG_HS block reset
pub const fn usb_otg_fsrst(&self) -> bool
pub const fn usb_otg_fsrst(&self) -> bool
USB_OTG_FS block reset
pub fn set_usb_otg_fsrst(&mut self, val: bool)
pub fn set_usb_otg_fsrst(&mut self, val: bool)
USB_OTG_FS block reset
Trait Implementations§
impl Copy for Ahb1rstr
impl Eq for Ahb1rstr
impl StructuralPartialEq for Ahb1rstr
Auto Trait Implementations§
impl Freeze for Ahb1rstr
impl RefUnwindSafe for Ahb1rstr
impl Send for Ahb1rstr
impl Sync for Ahb1rstr
impl Unpin for Ahb1rstr
impl UnwindSafe for Ahb1rstr
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
)