
// ****************************************************************************
//
//                         Page NA - noise analog
//
// ****************************************************************************
// Output: PC5, Timer 2 channel 1 mapping 2
// Using PWM period 200. System clock = 48 MHz, sample rate = 48 MHz/200 = 240 kHz
// Fastest loop: 240 kHz / 4096 = 58 Hz, 17 ms

#ifndef _PAGE_NA_H
#define _PAGE_NA_H

#ifdef __cplusplus
extern "C" {
#endif

#define NA_GPIO		PC5		// NA output pin
#define NA_LOOP		200		// length of NA loop

// NA Timer 2 interrupt handler ... handler located at page_asm.S
HANDLER void NA_Handler();

// Page NA (returns key PREV/NEXT)
u8 PageNA();

#ifdef __cplusplus
}
#endif

#endif // _PAGE_NA_H
