Logo
TIDM-CAPTIVATE-64-BUTTON Example Applications Guide  v1.00.00.00
CAPT_App_Layer

Functions

void CAPT_appStart (void)
 
bool CAPT_appHandler (void)
 
void CAPT_appSleep (void)
 The flags that are checked are: detection, timer, and conversion counter. More...
 

Detailed Description

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

Function Documentation

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
none
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
none
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
none
Returns
none
Version
1.01.01.00 Released on Thu, Oct 15, 2015 12:27:24 AM