#[repr(C)]pub struct ble_gap_event_trigger_t {
pub ppi_ch_id: u8,
pub task_endpoint: u32,
pub conn_evt_counter_start: u16,
pub period_in_events: u16,
}
Expand description
@brief Bluetooth Link Layer event triggering parameters.
Fields§
§ppi_ch_id: u8
< PPI channel to use. This channel should be regarded as reserved until Link Layer event PPI task triggering is stopped. The PPI channel ID can not be one of the PPI channels reserved by the SoftDevice. See @ref NRF_SOC_SD_PPI_CHANNELS_SD_ENABLED_MSK.
task_endpoint: u32
< Task Endpoint to trigger.
conn_evt_counter_start: u16
< The connection event on which the task triggering should start. This field is only used for connections and shall be 0 for all other roles.
period_in_events: u16
< Trigger period. Valid range is [1, 32767]. For connections, the application can configure the SoftDevice to trigger every N connection events. If the device is in slave role and slave latency is enabled, this parameter should be set to a multiple of (slave latency + 1) to ensure low power operation. This field is only used for connections and shall be 0 for all other roles.
Trait Implementations§
source§impl Clone for ble_gap_event_trigger_t
impl Clone for ble_gap_event_trigger_t
source§fn clone(&self) -> ble_gap_event_trigger_t
fn clone(&self) -> ble_gap_event_trigger_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more