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

System tick timer device driver. More...

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

Go to the source code of this file.

Functions

void rflpc_sys_timer_init ()
 initializes the system timer
 
static void rflpc_sys_timer_start ()
 starts the system timer
 
static void rflpc_sys_timer_stop ()
 stops the system timer
 
static void rflpc_sys_timer_set_callback (rflpc_irq_handler_t c)
 sets the callback for the timer interrupt
 
void rflpc_sys_timer_set_period (uint32_t micros_time)
 initializes the timer with a given period (in µs) This automatically starts the timer even if it was stopped.
 
void rflpc_sys_timer_set_tick_period (uint32_t ticks)
 initializes the timer with a given tick count This automatically starts the timer even if it was stopped. More...
 

Detailed Description

System tick timer device driver.

Definition in file sys_tick_timer.h.