Interrupts

27 Apr 2012

Hi, let's say that I enable an interrupt like... NVIC_EnableIRQ(UART0_IRQn). When i receive something via UART, it triggers an interrupt, but what function does it run, or how I tell mbed to run a specific function when I receive something?

Thanks.

28 Apr 2012

This article should help: http://mbed.org/users/AjK/notebook/getting-closer-to-the-hardware/.

Catalin Macovei wrote:

Hi, let's say that I enable an interrupt like... NVIC_EnableIRQ(UART0_IRQn). When i receive something via UART, it triggers an interrupt, but what function does it run, or how I tell mbed to run a specific function when I receive something?

Thanks.