![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Example description
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.
Special connection requirements
There are no special connection requirements for this example.
Build procedures:
LPC17xx/40xx example quickstart for Keil uVision4
LPC17xx/40xx example quickstart for IAR EWARM
LPC17xx/40xx example quickstart for Code Red Xpresso
Supported boards and board setup:
NXP Xpresso LPC1769 board
Submitting LPCOpen issues:
Community support for LPCOpen
Macros | |
| #define | TIME_INTERVAL (1000) |
Functions | |
| void | RIT_IRQHandler (void) |
| RIT interrupt handler. | |
| int | main (void) |
| Main entry point. | |
Variables | |
| static volatile bool | On |
| int main | ( | void | ) |
| void RIT_IRQHandler | ( | void | ) |