#include <hidef.h> /* for EnableInterrupts macro */
#include "derivative.h" /* include peripheral declarations */



void main(void) 
{
	EnableInterrupts;
	vfnMCG_Init();

	PTFDD_PTF2DD = 1;
  for(;;) 
  {
	PTFD_PTFD2 ^= 1;
  __RESET_WATCHDOG();	
  } 
}

__interrupt VectorNumber_Vtpm1ovf void TPM1_ISR (void)
{
    (void)TPM1SC;
    TPM1SC_TOF = 0;
    DACV1_TRIGGER; 
}
