AnsweredAssumed Answered

CPP project with RTC ISR functions -  Issue

Question asked by Anand K on Mar 21, 2013
Latest reply on Sep 9, 2013 by Kai Liu

We are using FRDM-KL25 board for our prototype developement. I created a C proejct in CW IDE 10.3 for RTC. I created the entire project in C first. RTC interrupts were handled by ISR routines in IVT. This was successful with all functionalities working. But now am trying to migrate this C code to CPP code. I created a class RTC and moved all my functions into it.

I didnt move the ISR function void __attribute__ ((interrupt)) RTC_Interrupt(void) into the class. When I moved it into the class, it is showing  error "RTC_Interrupt was not declared in this scope". Please find my snapshots.

Could anyone suggest me on how to move RTC ISR functions within the Class.? or how make reference of the ISR function in the class in the Interrupt Vector Table?

pic1.png

pic2.png

Outcomes