![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Macros | |
#define | PresetCount (CRYSTAL_32K_FREQ_IN / 32) |
Functions | |
static void | ATIMER_ClearInts (void) |
void | EVRT_IRQHandler (void) |
Handle interrupt from ATIMER source. | |
int | main (void) |
main routine for ATIMER example | |
This example shows how to use Alarm Timer to generate interrupt.
The ATIMER is configured for a 1s period. On each expiration of the ATIMER, an ATIMER interrupt is generated and cleared. The background loop will toggle an LED at the ATIMER interrupt rate and sleep while it's doing nothing.
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.
#define PresetCount (CRYSTAL_32K_FREQ_IN / 32) |
void EVRT_IRQHandler | ( | void | ) |