Struct Apb2rstr
#[repr(transparent)]pub struct Apb2rstr(pub u32);Expand description
RCC 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 block reset.
pub const fn set_tim8rst(&mut self, val: bool)
pub const fn set_tim8rst(&mut self, val: bool)
TIM8 block reset.
pub const fn set_tim20rst(&mut self, val: bool)
pub const fn set_tim20rst(&mut self, val: bool)
TIM20 block reset.
pub const fn set_usart1rst(&mut self, val: bool)
pub const fn set_usart1rst(&mut self, val: bool)
USART1 block reset.
pub const fn set_usart6rst(&mut self, val: bool)
pub const fn set_usart6rst(&mut self, val: bool)
USART6 block reset.
pub const fn set_usart9rst(&mut self, val: bool)
pub const fn set_usart9rst(&mut self, val: bool)
USART9 block reset.
pub const fn usart10rst(&self) -> bool
pub const fn usart10rst(&self) -> bool
USART10 block reset.
pub const fn set_usart10rst(&mut self, val: bool)
pub const fn set_usart10rst(&mut self, val: bool)
USART10 block reset.
pub const fn set_spi1rst(&mut self, val: bool)
pub const fn set_spi1rst(&mut self, val: bool)
SPI2S1 block reset.
pub const fn set_spi4rst(&mut self, val: bool)
pub const fn set_spi4rst(&mut self, val: bool)
SPI4 block reset.
pub const fn set_tim15rst(&mut self, val: bool)
pub const fn set_tim15rst(&mut self, val: bool)
TIM15 block reset.
pub const fn set_tim16rst(&mut self, val: bool)
pub const fn set_tim16rst(&mut self, val: bool)
TIM16 block reset.
pub const fn set_tim17rst(&mut self, val: bool)
pub const fn set_tim17rst(&mut self, val: bool)
TIM17 block reset.
pub const fn set_tim9rst(&mut self, val: bool)
pub const fn set_tim9rst(&mut self, val: bool)
TIM9 block reset.
pub const fn set_spi5rst(&mut self, val: bool)
pub const fn set_spi5rst(&mut self, val: bool)
SPI5 block reset.
pub const fn set_hrtim1rst(&mut self, val: bool)
pub const fn set_hrtim1rst(&mut self, val: bool)
HRTIM1 block reset.
pub const fn set_hrtim2rst(&mut self, val: bool)
pub const fn set_hrtim2rst(&mut self, val: bool)
HRTIM2 block 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 UnsafeUnpin 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