Struct BT
#[non_exhaustive]pub struct BT<'a> { /* private fields */ }unstable only.Expand description
BT peripheral singleton
§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§
§impl BT<'_>
impl BT<'_>
pub fn reset_rpa(&mut self)
Available on bt only.
pub fn reset_rpa(&mut self)
bt only.Reset the Bluetooth Resolvable Private Address (RPA).
§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.
pub fn ble_rtc_clk_init(&mut self)
Available on bt only.
pub fn ble_rtc_clk_init(&mut self)
bt only.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.
§impl BT<'_>
impl BT<'_>
pub unsafe fn steal() -> BT<'_>
pub unsafe fn steal() -> BT<'_>
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
pub unsafe fn clone_unchecked(&self) -> BT<'_>
pub unsafe fn clone_unchecked(&self) -> BT<'_>
Unsafely clone this peripheral reference.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
§impl<'d> ModemClockController<'d> for BT<'d>
§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.
impl<'d> ModemClockController<'d> for BT<'d>
§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.