CCIE Bit 4 Capture/compare interrupt enable. This bit enables the interrupt request of the corresponding CCIFG flag.
0 Interrupt disabled
1 Interrupt enabled
TAIE Bit 1 Timer_A interrupt enable. This bit enables the TAIFG interrupt request.
0 Interrupt disabled
1 Interrupt enabled
From SLAU144J.
I'm having a hard time telling those two apart. How do I know which one to use? I don't have any code to post, since I haven't gotten that far with my project just yet, but here I am thinking just general.
For example, let's just say I wan't the timer to count up to 500 and trigger an interrupt, which one do I use and why?
Could I get an example with both registers?