nRF5 SDK v17.1.0
Data Fields
tile_tdt_module Struct Reference

#include <tile_tdt_module.h>

Data Fields

tdt_config_t config
 
uint8_t hdc_status
 
uint16_t * single_tap
 
uint8_t * long_tap
 
uint16_t * double_tap_detect
 
uint16_t * double_tap_notify
 
uint16_t * double_tap_failure2
 
int(* config_written )(tdt_config_t *config)
 
void(* hdc_cb )(void)
 

Detailed Description

Tile DoubleTap module.

This module is used by Tile Lib to detect various types of button press. Furthermore, this module also supports the "TDT HDC" feature, which is used to advertise with a high duty cycle when a double tap is detected.

Field Documentation

tdt_config_t tile_tdt_module::config

Configuration for TDT. Used internally by Tile Lib.

int(* tile_tdt_module::config_written)(tdt_config_t *config)

Configuration was written by the app. Should be stored to NVM.

void(* tile_tdt_module::hdc_cb)(void)

Called when a double tap is detected and the Tile should move into high duty cycle advertising.

uint8_t tile_tdt_module::hdc_status

Variables to support optional TDT HDC feature.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated