![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Macros | |
#define | TIME_INTERVAL 1000 |
Functions | |
void | RIT_IRQHandler (void) |
RIT interrupt handler. | |
int | main (void) |
Main entry point. | |
Variables | |
static volatile bool | On |
This example describes how to use the RIT driver as a periodic interrupt source. The RIT time interval is configured to 1s. On each RITimer interrupt, the LED state will toggle.
No special setup is required for the demo. Just build and run.
Build procedure: LPCOpen 18xx/43xx build instructions
Supported boards and board setup:
Submit bug reports for LPCOpen code here.
void RIT_IRQHandler | ( | void | ) |