Hi Will,
Freescale provides KSDK software for KL03 chip.
Please download [Freescale Kinetis SDK_1.0.0 for the FRDM-KL03Z - Windows installer] from below link:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL03Z&fpsp=1&tab=Design_Tools_Ta...
After installation the KSDK for KL03Z software, customer could find example demo at default path:
C:\Freescale\KSDK_1.0.0-KL03Z\demos
Just using [rtc_func] as an example, the interrupt ISR list at <startup_MKL03Z4.s> file with vector table to related ISR function.
The ISR function should with the same name as <startup_MKL03Z4.s>, and customer could find RTC IRQ ISR and RTC second IRQ ISR function located <rtc_func.c> file line 74:
/* override the RTC IRQ handler */
void RTC_IRQHandler(void)
{
if (RTC_DRV_IsAlarmPending(0))
{
gAlarmPending = 1;
/* disable alarm interrupt */
RTC_DRV_SetAlarmIntCmd(0, false);
}
}
/* override the RTC Second IRQ handler */
void RTC_Seconds_IRQHandler(void)
{
gSecsFlag = true;
}
Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------