| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
LPC13xx RITimer example
Peripheral examples

## Detailed Description

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
No special setup is required for the demo. Just build and run.

Build procedures:
LPC13xx example quickstart for Code Red Xpresso
LPC13xx example quickstart for Keil uVision4
LPC13xx example quickstart for IAR EWARM

Supported boards and board setup:
NXP Xpresso LPC1347 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.

## Macro Definition Documentation

#define TIME_INTERVAL (1000)

Definition at line 69 of file ritimer.c.

## Function Documentation

int main | ( | void |  | ) |

Main entry point.

Main program body.

Returns
  Nothing

defined(CHIP_LPC175X_6X)

Definition at line 92 of file ritimer.c.

void RIT_IRQHandler | ( | void |  | ) |

RIT interrupt handler.

Returns
  Nothing

Definition at line 79 of file ritimer.c.