
// ****************************************************************************
//
//                           Page TG - Time Gate
//
// ****************************************************************************
// Input: PD2, Timer 1 time counting
//  Counts time of HIGH and LOW levels, with a granularity of 10us, max. 11 hours and 55 minutes
//  Hold button - hold counters. Slow button - reset counters.

#ifndef _PAGE_TG_H
#define _PAGE_TG_H

#ifdef __cplusplus
extern "C" {
#endif

// TG Timer 1 interrupt handler (at 100kHz) ... handler located at page_asm.S
HANDLER void TG_Handler();

// Page TG (returns key PREV/NEXT)
u8 PageTG();

#ifdef __cplusplus
}
#endif

#endif // _PAGE_TG_H
