Coming from an 8 bit Freescale uC, I'm finding the USART of the SAMC21 to be very complex. I am playing with USART_QUICK_START_CALLBACK example project for the Xplained Pro, but everything is so abstracted I'm having a hard time figuring out how to do what I want. I am hooking this up to talk serially to an LCD. I simply want to configure it so that when a receive interrupt occurs, goes to my interrupt handler where i do nothing but stuff information in a circular buffer. The example project has the ISR in a file called usart_interrupt.c. and I'm not sure how to direct it to a different handler. Sorry if this is a dumb question but I'm not used to all this abstraction.
Joined: Wed. May 17, 2017
Posts: 24 View posts