typedef struct
{
    /* The application's current state */
    APP_STATES  state;

    /* TODO: Define any additional data used by the application. */
    DRV_HANDLE  tmrDrvHandle;   // pointer to Timer Driver returned by DRV_TMR_Open()
    uint32_t    tmrPeriod;      // timer period register value
    uint16_t    alarmCount;     // number of timer interrupts since last alarm
    uint16_t    alarmCountMax;  // number of interrupts to count before alarm

} APP_DATA;