Struct stm32_metapac::rcc::regs::Ahb5enr
#[repr(transparent)]pub struct Ahb5enr(pub u32);
Expand description
RCC AHB5 peripheral clock enable register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb5enr
impl Ahb5enr
pub const fn radioen(&self) -> bool
pub const fn radioen(&self) -> bool
2.4 GHz RADIO bus clock enable Set and cleared by software. Access can be secured by GTZC_TZSC RADIOSEC. 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. Before accessing the 2.4 GHz RADIO sleep timers registers the RADIOCLKRDY bit must be checked. Note: When RADIOSMEN and STRADIOCLKON are both cleared, RADIOCLKRDY bit must be re-checked when exiting low-power modes (Sleep and Stop).
pub fn set_radioen(&mut self, val: bool)
pub fn set_radioen(&mut self, val: bool)
2.4 GHz RADIO bus clock enable Set and cleared by software. Access can be secured by GTZC_TZSC RADIOSEC. 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. Before accessing the 2.4 GHz RADIO sleep timers registers the RADIOCLKRDY bit must be checked. Note: When RADIOSMEN and STRADIOCLKON are both cleared, RADIOCLKRDY bit must be re-checked when exiting low-power modes (Sleep and Stop).
Trait Implementations§
impl Copy for Ahb5enr
impl Eq for Ahb5enr
impl StructuralPartialEq for Ahb5enr
Auto Trait Implementations§
impl Freeze for Ahb5enr
impl RefUnwindSafe for Ahb5enr
impl Send for Ahb5enr
impl Sync for Ahb5enr
impl Unpin for Ahb5enr
impl UnwindSafe for Ahb5enr
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
)