![]() |
![]() |
|
TI BLE5-Stack API Documentation
9.14.00
|
Go to the source code of this file.
Macros | |
| #define | BLEAPPUTIL_TIMER_INVALID_HANDLE 0xFF |
| #define | TIMER_DAYS_TO_MS(day) TIMER_HOURS_TO_MS(day*24) |
| #define | TIMER_HOURS_TO_MS(hour) TIMER_MINUTES_TO_MS(hour*60) |
| #define | TIMER_MINUTES_TO_MS(min) TIMER_SEC_TO_MS(min*60) |
| #define | TIMER_SEC_TO_MS(sec) sec*1000 |
Typedefs | |
| typedef void(* | BLEAppUtil_timerCB_t) (BLEAppUtil_timerHandle timerHandle, BLEAppUtil_timerTermReason_e reason, void *pData) |
| typedef uint8_t | BLEAppUtil_timerHandle |
Enumerations | |
| enum | BLEAppUtil_timerTermReason_e { BLEAPPUTIL_TIMER_TIMEOUT, BLEAPPUTIL_TIMER_ABORTED } |
Functions | |
| int32_t | BLEAppUtil_abortTimer (BLEAppUtil_timerHandle timerHandle) |
| int32_t | BLEAppUtil_reschedulePeriodicTimer (BLEAppUtil_timerHandle timerHandle, uint32_t time, void *pData) |
| BLEAppUtil_timerHandle | BLEAppUtil_startTimer (BLEAppUtil_timerCB_t timerCB, uint32_t timeInMS, bool isPeriodic, void *pData) |
| #define BLEAPPUTIL_TIMER_INVALID_HANDLE 0xFF |
| #define TIMER_DAYS_TO_MS | ( | day | ) | TIMER_HOURS_TO_MS(day*24) |
| #define TIMER_HOURS_TO_MS | ( | hour | ) | TIMER_MINUTES_TO_MS(hour*60) |
| #define TIMER_MINUTES_TO_MS | ( | min | ) | TIMER_SEC_TO_MS(min*60) |
| #define TIMER_SEC_TO_MS | ( | sec | ) | sec*1000 |
| typedef void(* BLEAppUtil_timerCB_t) (BLEAppUtil_timerHandle timerHandle, BLEAppUtil_timerTermReason_e reason, void *pData) |
| typedef uint8_t BLEAppUtil_timerHandle |
| int32_t BLEAppUtil_abortTimer | ( | BLEAppUtil_timerHandle | timerHandle | ) |
| int32_t BLEAppUtil_reschedulePeriodicTimer | ( | BLEAppUtil_timerHandle | timerHandle, |
| uint32_t | time, | ||
| void * | pData | ||
| ) |
| BLEAppUtil_timerHandle BLEAppUtil_startTimer | ( | BLEAppUtil_timerCB_t | timerCB, |
| uint32_t | timeInMS, | ||
| bool | isPeriodic, | ||
| void * | pData | ||
| ) |