JaredReabow
Well-known member
with T3.6:
///seconds timer interrupt
RTC_IER |= 0x10; // Enable seconds IRQ from RTC peripheral
NVIC_ENABLE_IRQ(IRQ_RTC_SECOND); // Enable seconds IRS function in NVIC
/// end of second timer interrupt
will call the function called: rtc_seconds_isr() every second, can someone clue me in on how to do this with the t4/4.1
I would also like an interrupt ever millisecond, 500ms etc, how can I go about pulling this off?
Thanks.
///seconds timer interrupt
RTC_IER |= 0x10; // Enable seconds IRQ from RTC peripheral
NVIC_ENABLE_IRQ(IRQ_RTC_SECOND); // Enable seconds IRS function in NVIC
/// end of second timer interrupt
will call the function called: rtc_seconds_isr() every second, can someone clue me in on how to do this with the t4/4.1
I would also like an interrupt ever millisecond, 500ms etc, how can I go about pulling this off?
Thanks.