Struct stm32_metapac::rcc::regs::Apb1rstr1
#[repr(transparent)]pub struct Apb1rstr1(pub u32);
Expand description
RCC APB1 peripheral reset register 1
Tuple Fields§
§0: u32
Implementations§
§impl Apb1rstr1
impl Apb1rstr1
pub const fn tim2rst(&self) -> bool
pub const fn tim2rst(&self) -> bool
TIM2 reset Set and cleared by software. Access can be secured by GTZC_TZSC TIM2SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_tim2rst(&mut self, val: bool)
pub fn set_tim2rst(&mut self, val: bool)
TIM2 reset Set and cleared by software. Access can be secured by GTZC_TZSC TIM2SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub const fn tim3rst(&self) -> bool
pub const fn tim3rst(&self) -> bool
TIM3 reset Set and cleared by software. Access can be secured by GTZC_TZSC TIM3SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_tim3rst(&mut self, val: bool)
pub fn set_tim3rst(&mut self, val: bool)
TIM3 reset Set and cleared by software. Access can be secured by GTZC_TZSC TIM3SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub const fn usart2rst(&self) -> bool
pub const fn usart2rst(&self) -> bool
USART2 reset Set and cleared by software. Access can be secured by GTZC_TZSC UART2SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_usart2rst(&mut self, val: bool)
pub fn set_usart2rst(&mut self, val: bool)
USART2 reset Set and cleared by software. Access can be secured by GTZC_TZSC UART2SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub const fn i2c1rst(&self) -> bool
pub const fn i2c1rst(&self) -> bool
I2C1 reset Set and cleared by software. Access can be secured by GTZC_TZSC I2C1SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_i2c1rst(&mut self, val: bool)
pub fn set_i2c1rst(&mut self, val: bool)
I2C1 reset Set and cleared by software. Access can be secured by GTZC_TZSC I2C1SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
Trait Implementations§
impl Copy for Apb1rstr1
impl Eq for Apb1rstr1
impl StructuralPartialEq for Apb1rstr1
Auto Trait Implementations§
impl Freeze for Apb1rstr1
impl RefUnwindSafe for Apb1rstr1
impl Send for Apb1rstr1
impl Sync for Apb1rstr1
impl Unpin for Apb1rstr1
impl UnwindSafe for Apb1rstr1
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
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)
clone_to_uninit
)