Trait esp32c2_hal::system::RadioClockController
source · pub trait RadioClockController {
// Required methods
fn enable(&mut self, peripheral: RadioPeripherals);
fn disable(&mut self, peripheral: RadioPeripherals);
fn reset_mac(&mut self);
fn init_clocks(&mut self);
fn ble_rtc_clk_init(&mut self);
fn reset_rpa(&mut self);
}
Expand description
Control the radio peripheral clocks
Required Methods§
sourcefn enable(&mut self, peripheral: RadioPeripherals)
fn enable(&mut self, peripheral: RadioPeripherals)
Enable the peripheral
sourcefn disable(&mut self, peripheral: RadioPeripherals)
fn disable(&mut self, peripheral: RadioPeripherals)
Disable the peripheral
sourcefn init_clocks(&mut self)
fn init_clocks(&mut self)
Do any common initial initialization needed
sourcefn ble_rtc_clk_init(&mut self)
fn ble_rtc_clk_init(&mut self)
Initialize BLE RTC clocks