#ifndef CAPTURE_H
#define CAPTURE_H

// <<< Use Configuration Wizard in Context Menu >>>
// <h> CAPCONT 
// <o.0..2> E_CAP_CLK  <0=> 48MHz/4  <1=> 48MHz/8  <2=> 48MHz/16  <3=> 48MHz/32  <4=> 48MHz/64  <5=> 48MHz/128  <6=>  48MHz/256  <7=> 48MHz/512 
// <o.4> CAP_PIN_SEL <0=> CAP2/P0_7/Data 0 Input <1=> CAP1/P0_6/Data 1 Input
// <o.7> E_CAP_EN <0=> Disable <1=> Enable 
// </h>
#define CAPCONT_REGS 0x87

// <<< end of configuration section >>>

extern unsigned short CaptureTotal;
extern unsigned short CaptureTotalTemp;

extern void EXCAP_Init (void);
extern void CAP_Init (void);
#endif