Hi all,
Can you help me writing some code to learn how to use the MRT registers with the LPC845brk board?
I would like to toggle a pin when the MRT channel 0 generate the interrupt
Is my code correct?
Where should I put the interrupt handler?
Hello @tomato,
Could you please try out the MRT example in MCUXpresso with the SDK LPC845 or LPC845BREAKOUT?
The MRT example is a simple demonstration program, that sets up the MRT hardware block to trigger a periodic interrupt after every 250 milliseconds. When the PIT interrupt is triggered a message a printed on the UART terminal and an LED is toggled on the board.
It may be useful to try it out, and then made some changes according to what you need.
Best regards, Raul.