Struct stm32_metapac::rcc::regs::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 const fn gpdma1rst(&self) -> bool
pub const fn gpdma1rst(&self) -> bool
GPDMA1 reset Set and cleared by software. Access can be secured by GPDMA1 SECx. 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_gpdma1rst(&mut self, val: bool)
pub fn set_gpdma1rst(&mut self, val: bool)
GPDMA1 reset Set and cleared by software. Access can be secured by GPDMA1 SECx. 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 crcrst(&self) -> bool
pub const fn crcrst(&self) -> bool
CRC reset Set and cleared by software. Access can be secured by GTZC_TZSC CRCSEC. 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_crcrst(&mut self, val: bool)
pub fn set_crcrst(&mut self, val: bool)
CRC reset Set and cleared by software. Access can be secured by GTZC_TZSC CRCSEC. 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 tscrst(&self) -> bool
pub const fn tscrst(&self) -> bool
TSC reset Set and cleared by software. Access can be secured by GTZC_TZSC TSCSEC. 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_tscrst(&mut self, val: bool)
pub fn set_tscrst(&mut self, val: bool)
TSC reset Set and cleared by software. Access can be secured by GTZC_TZSC TSCSEC. 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 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
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
)