pub struct RadioClockController<'d> { /* private fields */ }
unstable
only.Expand description
Control the radio peripheral clocks
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Implementations§
Source§impl<'d> RadioClockController<'d>
impl<'d> RadioClockController<'d>
Sourcepub fn new(rcc: impl Peripheral<P = RADIO_CLK> + 'd) -> Self
pub fn new(rcc: impl Peripheral<P = RADIO_CLK> + 'd) -> Self
Create a new instance of the radio clock controller
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn enable_phy(&mut self, enable: bool)
pub fn enable_phy(&mut self, enable: bool)
Enable the PHY clocks
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn enable_bt(&mut self, enable: bool)
pub fn enable_bt(&mut self, enable: bool)
Enable the Bluetooth clocks
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn enable_wifi(&mut self, enable: bool)
pub fn enable_wifi(&mut self, enable: bool)
Enable the WiFi clocks
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn enable_ieee802154(&mut self, enable: bool)
pub fn enable_ieee802154(&mut self, enable: bool)
Enable the IEEE 802.15.4 peripheral clocks
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn reset_mac(&mut self)
pub fn reset_mac(&mut self)
Reset the MAC
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn init_clocks(&mut self)
pub fn init_clocks(&mut self)
Do any common initial initialization needed
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn ble_rtc_clk_init(&mut self)
pub fn ble_rtc_clk_init(&mut self)
Initialize BLE RTC clocks
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.