CaptainHooyah
Member
Hi, I've just started to get into ARM programming. Up until now I've only used Arduino and some other tool chains / APIs that didn't require me to think too hard about what is going on under the hood.
My understanding of how the T3.6 UART works is - an interrupt routine
is passing incoming characters to a fifo, that needs to be cleared by the higher level arduino serial handling functions.
I am curious how / where
is actually turned into an interrupt?
I have searched the entire Arduino directory for "uart0_status_isr" and only find references in:
"C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\kinetis.h"
"C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\serial1.c"
"C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\mk20dx128.c"
I searched for NVIC and I see functions to enable and disable interrupts, but I don't see where uart0_status_isr(void) is actually defined as the interrupt routine for IRQ_UART0_STATUS.
I'm just curious... Thanks!
My understanding of how the T3.6 UART works is - an interrupt routine
Code:
void uart0_status_isr(void)
I am curious how / where
Code:
void uart0_status_isr(void)
I have searched the entire Arduino directory for "uart0_status_isr" and only find references in:
"C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\kinetis.h"
Code:
extern void uart0_status_isr(void);
"C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\serial1.c"
Code:
void uart0_status_isr(void)
{
//The isr code...
}
"C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\mk20dx128.c"
Code:
void uart0_status_isr(void) __attribute__ ((weak, alias("unused_isr")));
I searched for NVIC and I see functions to enable and disable interrupts, but I don't see where uart0_status_isr(void) is actually defined as the interrupt routine for IRQ_UART0_STATUS.
I'm just curious... Thanks!