Struct nrf5x::ble_advertising_driver::BLE [] [src]

pub struct BLE<'a, B, A> where
    B: BleAdvertisementDriver + BleConfig + 'a,
    A: Alarm + 'a, 
{ radio: &'a B, busy: Cell<bool>, app: Grant<App>, kernel_tx: TakeCell<'static, [u8]>, alarm: &'a A, sending_app: Cell<Option<AppId>>, receiving_app: Cell<Option<AppId>>, }

Fields

Methods

impl<'a, B, A> BLE<'a, B, A> where
    B: BleAdvertisementDriver + BleConfig + 'a,
    A: Alarm + 'a, 
[src]

[src]

[src]

Trait Implementations

impl<'a, B, A> Client for BLE<'a, B, A> where
    B: BleAdvertisementDriver + BleConfig + 'a,
    A: Alarm + 'a, 
[src]

[src]

Callback signaled when the alarm's clock reaches the value set in Alarm#set_alarm. Read more

impl<'a, B, A> RxClient for BLE<'a, B, A> where
    B: BleAdvertisementDriver + BleConfig + 'a,
    A: Alarm + 'a, 
[src]

[src]

impl<'a, B, A> TxClient for BLE<'a, B, A> where
    B: BleAdvertisementDriver + BleConfig + 'a,
    A: Alarm + 'a, 
[src]

[src]

impl<'a, B, A> Driver for BLE<'a, B, A> where
    B: BleAdvertisementDriver + BleConfig + 'a,
    A: Alarm + 'a, 
[src]

[src]

command instructs a driver to perform some action synchronously. This returns ENOSUPPORT if not used. Read more

[src]

allow lets an application give the driver access to a buffer in the application's memory. This returns ENOSUPPORT if not used. Read more

[src]

subscribe lets an application pass a callback to the driver to be called later. This returns ENOSUPPORT if not used. Read more