Struct stm32_metapac::rcc::regs::Radioenr
#[repr(transparent)]pub struct Radioenr(pub u32);
Expand description
RCC RADIO peripheral clock enable register
Tuple Fields§
§0: u32
Implementations§
§impl Radioenr
impl Radioenr
pub const fn bbclken(&self) -> bool
pub const fn bbclken(&self) -> bool
2.4 GHz RADIO baseband kernel clock (aclk) enable Set and cleared by software. Note: The HSE oscillator needs to be enabled by either HSEON or STRADIOCLKON.
pub fn set_bbclken(&mut self, val: bool)
pub fn set_bbclken(&mut self, val: bool)
2.4 GHz RADIO baseband kernel clock (aclk) enable Set and cleared by software. Note: The HSE oscillator needs to be enabled by either HSEON or STRADIOCLKON.
pub const fn stradioclkon(&self) -> bool
pub const fn stradioclkon(&self) -> bool
2.4 GHz RADIO bus clock enable and HSE oscillator enable by 2.4 GHz RADIO sleep timer wakeup event Set by hardware on a 2.4 GHz RADIO sleep timer wakeup event. Cleared by software writing zero to this bit. Note: Before accessing the 2.4 GHz RADIO registers the RADIOCLKRDY bit must be checked.
pub fn set_stradioclkon(&mut self, val: bool)
pub fn set_stradioclkon(&mut self, val: bool)
2.4 GHz RADIO bus clock enable and HSE oscillator enable by 2.4 GHz RADIO sleep timer wakeup event Set by hardware on a 2.4 GHz RADIO sleep timer wakeup event. Cleared by software writing zero to this bit. Note: Before accessing the 2.4 GHz RADIO registers the RADIOCLKRDY bit must be checked.
pub const fn radioclkrdy(&self) -> bool
pub const fn radioclkrdy(&self) -> bool
2.4 GHz RADIO bus clock ready. Set and cleared by hardware to indicate that the 2.4 GHz RADIO bus clock is ready and the 2.4 GHz RADIO registers can be accessed. Note: Once both RADIOEN and STRADIOCLKON are cleared, RADIOCLKRDY goes low after three hclk5 clock cycles.
pub fn set_radioclkrdy(&mut self, val: bool)
pub fn set_radioclkrdy(&mut self, val: bool)
2.4 GHz RADIO bus clock ready. Set and cleared by hardware to indicate that the 2.4 GHz RADIO bus clock is ready and the 2.4 GHz RADIO registers can be accessed. Note: Once both RADIOEN and STRADIOCLKON are cleared, RADIOCLKRDY goes low after three hclk5 clock cycles.
Trait Implementations§
impl Copy for Radioenr
impl Eq for Radioenr
impl StructuralPartialEq for Radioenr
Auto Trait Implementations§
impl Freeze for Radioenr
impl RefUnwindSafe for Radioenr
impl Send for Radioenr
impl Sync for Radioenr
impl Unpin for Radioenr
impl UnwindSafe for Radioenr
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
)