Struct stm32_metapac::rcc::regs::Ahbrstr
#[repr(transparent)]pub struct Ahbrstr(pub u32);
Expand description
AHB peripheral reset register
Tuple Fields§
§0: u32
Implementations§
§impl Ahbrstr
impl Ahbrstr
pub fn set_fmcrst(&mut self, val: bool)
pub fn set_fmcrst(&mut self, val: bool)
FMC reset
pub fn set_gpiohrst(&mut self, val: bool)
pub fn set_gpiohrst(&mut self, val: bool)
IO port H reset
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 C 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_gpiofrst(&mut self, val: bool)
pub fn set_gpiofrst(&mut self, val: bool)
I/O port F reset
pub fn set_gpiogrst(&mut self, val: bool)
pub fn set_gpiogrst(&mut self, val: bool)
IO port G reset
pub fn set_tscrst(&mut self, val: bool)
pub fn set_tscrst(&mut self, val: bool)
Touch sensing controller reset
pub fn set_adc12rst(&mut self, val: bool)
pub fn set_adc12rst(&mut self, val: bool)
ADC1 and ADC2 reset
pub fn set_adc34rst(&mut self, val: bool)
pub fn set_adc34rst(&mut self, val: bool)
ADC3 and ADC4 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
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
)