The application layer handles UI sample timing and whether the application is in active mode or wake-on-proximity mode.
- Version
- 1.01.01.00 Released on Thu, Oct 15, 2015 12:27:24 AM
bool CAPT_appHandler |
( |
void |
| ) |
|
CAPT_appHandler() performs several functions: (1) It manages the mode of the UI (Active versus Wake-on-Proximity) (2) It controls when sensors are measured (2) It handles timer requests via the flags set by the captivate ISR (3) It checks for incoming packets, if the communications stack is enabled
- Parameters
-
- Returns
- none
void CAPT_appSleep |
( |
void |
| ) |
|
The flags that are checked are: detection, timer, and conversion counter.
CAPT_appSleep() puts the MCU into the low power mode specified in the global applicaiton structure, if and ONLY if no pending captivate flags exist.
- Parameters
-
- Returns
- none
void CAPT_appStart |
( |
void |
| ) |
|
CAPT_appStart() initilizes and calibrates the user interface application specified in CAPT_UserConfig. It also starts the captivate timer.
- Parameters
-
- Returns
- none
- Version
- 1.01.01.00 Released on Thu, Oct 15, 2015 12:27:24 AM