Struct Apb2rstr
#[repr(transparent)]pub struct Apb2rstr(pub u32);Expand description
APB2 peripheral reset register
Tuple Fields§
§0: u32Implementations§
§impl Apb2rstr
impl Apb2rstr
pub const fn set_tim1rst(&mut self, val: bool)
pub const fn set_tim1rst(&mut self, val: bool)
TIM1 reset
pub const fn set_tim8rst(&mut self, val: bool)
pub const fn set_tim8rst(&mut self, val: bool)
TIM8 reset
pub const fn set_usart1rst(&mut self, val: bool)
pub const fn set_usart1rst(&mut self, val: bool)
USART1 reset
pub const fn set_usart6rst(&mut self, val: bool)
pub const fn set_usart6rst(&mut self, val: bool)
USART6 reset
pub const fn set_sdmmc2rst(&mut self, val: bool)
pub const fn set_sdmmc2rst(&mut self, val: bool)
SDMMC2 reset
pub const fn set_adcrst(&mut self, val: bool)
pub const fn set_adcrst(&mut self, val: bool)
ADC interface reset (common to all ADCs)
pub const fn set_sdmmc1rst(&mut self, val: bool)
pub const fn set_sdmmc1rst(&mut self, val: bool)
SDMMC1 reset
pub const fn set_spi1rst(&mut self, val: bool)
pub const fn set_spi1rst(&mut self, val: bool)
SPI 1 reset
pub const fn set_spi4rst(&mut self, val: bool)
pub const fn set_spi4rst(&mut self, val: bool)
SPI4 reset
pub const fn set_syscfgrst(&mut self, val: bool)
pub const fn set_syscfgrst(&mut self, val: bool)
System configuration controller reset
pub const fn set_tim9rst(&mut self, val: bool)
pub const fn set_tim9rst(&mut self, val: bool)
TIM9 reset
pub const fn set_tim10rst(&mut self, val: bool)
pub const fn set_tim10rst(&mut self, val: bool)
TIM10 reset
pub const fn set_tim11rst(&mut self, val: bool)
pub const fn set_tim11rst(&mut self, val: bool)
TIM11 reset
pub const fn set_spi5rst(&mut self, val: bool)
pub const fn set_spi5rst(&mut self, val: bool)
SPI5 reset
pub const fn set_spi6rst(&mut self, val: bool)
pub const fn set_spi6rst(&mut self, val: bool)
SPI6 reset
pub const fn set_sai1rst(&mut self, val: bool)
pub const fn set_sai1rst(&mut self, val: bool)
SAI1 reset
pub const fn set_sai2rst(&mut self, val: bool)
pub const fn set_sai2rst(&mut self, val: bool)
SAI2 reset
pub const fn set_ltdcrst(&mut self, val: bool)
pub const fn set_ltdcrst(&mut self, val: bool)
LTDC reset
pub const fn set_dsirst(&mut self, val: bool)
pub const fn set_dsirst(&mut self, val: bool)
DSI reset
pub const fn set_dfsdm1rst(&mut self, val: bool)
pub const fn set_dfsdm1rst(&mut self, val: bool)
DFSDM 1 reset
pub const fn set_mdiosrst(&mut self, val: bool)
pub const fn set_mdiosrst(&mut self, val: bool)
MDIOS reset
pub const fn usbphycrst(&self) -> bool
pub const fn usbphycrst(&self) -> bool
USB OTG HS PHY controller reset
pub const fn set_usbphycrst(&mut self, val: bool)
pub const fn set_usbphycrst(&mut self, val: bool)
USB OTG HS PHY controller reset
Trait Implementations§
impl Copy for Apb2rstr
impl Eq for Apb2rstr
impl StructuralPartialEq for Apb2rstr
Auto Trait Implementations§
impl Freeze for Apb2rstr
impl RefUnwindSafe for Apb2rstr
impl Send for Apb2rstr
impl Sync for Apb2rstr
impl Unpin for Apb2rstr
impl UnwindSafe for Apb2rstr
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