Trait 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§

Source

fn enable(&mut self, peripheral: RadioPeripherals)

Enable the peripheral

Source

fn disable(&mut self, peripheral: RadioPeripherals)

Disable the peripheral

Source

fn reset_mac(&mut self)

Reset the MAC

Source

fn init_clocks(&mut self)

Do any common initial initialization needed

Source

fn ble_rtc_clk_init(&mut self)

Initialize BLE RTC clocks

Source

fn reset_rpa(&mut self)

Implementors§