Hi,
I have made a small project that can print the date + time using the RTC registers like this 25.03.10,20:04:02
Now I want to print this every second. Timer interrupt every second has been used in the audio filter example and I tried to learn from that. These are the things I included in main to enable interrupt.
InitSystem();
ConfigPort();
SYS_GlobalIntEnable();
reset_RTC();
IER1 = 0x0004;
enable_rtc_second_int();
The SYS_GlobalIntEnable(); is giving error
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1, #ST1_INTM) = #0
There is a file lpva.inc in the audio filter project that has ST1 defined. I added that file in my project, but including that from my main.c is giving a lot of compilation errors.
Can anyone help me with the minimum things required to do to enable second interrupt? I am trying to learn.
Thanks in advance,
Riju