Struct stm32_metapac::pwr::regs::Radioscr
#[repr(transparent)]pub struct Radioscr(pub u32);
Expand description
2.4 GHz RADIO status and control register
Tuple Fields§
§0: u32
Implementations§
§impl Radioscr
impl Radioscr
pub fn set_phymode(&mut self, val: bool)
pub fn set_phymode(&mut self, val: bool)
2.4 GHz RADIO PHY operating mode
pub fn set_encmode(&mut self, val: bool)
pub fn set_encmode(&mut self, val: bool)
2.4 GHz RADIO encryption function operating mode
pub const fn rfvddhpa(&self) -> u8
pub const fn rfvddhpa(&self) -> u8
2.4 GHz RADIO VDDHPA control word. Bits [3:0] see Table 81: PA output power table format for definition. Bit [4] rf_event.
pub fn set_rfvddhpa(&mut self, val: u8)
pub fn set_rfvddhpa(&mut self, val: u8)
2.4 GHz RADIO VDDHPA control word. Bits [3:0] see Table 81: PA output power table format for definition. Bit [4] rf_event.
pub const fn regpardyvddrfpa(&self) -> bool
pub const fn regpardyvddrfpa(&self) -> bool
Ready bit for VDDHPA voltage level when selecting VDDRFPA input. Note: REGPARDYVDDRFPA does not allow to detect correct VDDHPA voltage level when request to lower the level.
pub fn set_regpardyvddrfpa(&mut self, val: bool)
pub fn set_regpardyvddrfpa(&mut self, val: bool)
Ready bit for VDDHPA voltage level when selecting VDDRFPA input. Note: REGPARDYVDDRFPA does not allow to detect correct VDDHPA voltage level when request to lower the level.
Trait Implementations§
impl Copy for Radioscr
impl Eq for Radioscr
impl StructuralPartialEq for Radioscr
Auto Trait Implementations§
impl Freeze for Radioscr
impl RefUnwindSafe for Radioscr
impl Send for Radioscr
impl Sync for Radioscr
impl Unpin for Radioscr
impl UnwindSafe for Radioscr
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)