
// ****************************************************************************
//
//                           Page CNT - Counter
//
// ****************************************************************************
// Input: PD2, Timer 1, channel 1, mapping 0 .... counting to max. 24 MHz
//	0 ... PC5:ETR, >>> PD2:CH1 <<<<, PA1:CH2, PC3:CH3, PC4:CH4, PC2:BKIN, PD0:CH1N, PA2:CH2N, PD1:CH3N

#ifndef _PAGE_CNT_H
#define _PAGE_CNT_H

#ifdef __cplusplus
extern "C" {
#endif

// CNT Timer 1 interrupt handler - overflow of edge counter ... handler located at page_asm.S
HANDLER void CNT_Handler();

// Page CNT (returns key PREV/NEXT)
u8 PageCNT();

#ifdef __cplusplus
}
#endif

#endif // _PAGE_CNT_H
