Im developing a Forth compiler for the my atxmega256a3bu xplained board. Im adding support for ram based interrupt vectors allowing any interrupt vector to be modified at run time and I have hit a snag. I can not tell which timer counter type is associated with TCE0 (or TCE1 etc). I have looked in various PDFs for this device and none of them explain weather or not this interrupt vector is associated with a timer counter or a timer counter type 2.
Im probably missing some snippet of information buried in the PDFs that would clear up the issue but i have not been able to find anything to help me here. The documentation suggests that PORTE actually has interrupt capabilities with both types of timer counter but I dont see two different interrupt vectors for port E.
Timer Counters have 6 interrupt vectors associated with them. OVF_vect, ERR_vect, CCA_vect, CCB_vect, CCC_vect and CCD_vect.
Type 2 timer counters also have 6 interrupt vectors, LUNF_vect, HUNF_vect, LCMPA_vect, LCMPB_vect, LCMPC_vect and LCMPD_vect.
Port E has an interrupt vector base at TCE0_INT_base which is an array of 6 interrupt vectors.... but of which type?