rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
rit.h File Reference

Repetitive Interrupt Timer device driver. More...

#include "../nxp/LPC17xx.h"
#include "../interrupt.h"

Go to the source code of this file.

Functions

static void rflpc_rit_enable ()
 Enables the RIT. More...
 
static uint32_t rflpc_rit_get_counter_value ()
 Gets the current value of the rit counter.
 
static void rflpc_rit_set_counter_value (uint32_t value)
 Sets the current value of the rit counter.
 
static void rflpc_rit_clear_pending_interrupt ()
 clears the pending interrupt. More...
 
void rflpc_rit_set_callback (uint32_t comp_value, uint32_t mask, int reset_on_match, rflpc_irq_handler_t c)
 sets the RIT interrupt callback and configure the RIT interrupt. More...
 

Detailed Description

Repetitive Interrupt Timer device driver.

Definition in file rit.h.