lpc_rit.c File Reference
#include "lpc_rit.h"
#include "lpc_isr.h"
#include "FreeRTOS.h"
Include dependency graph for lpc_rit.c:

Functions

void RIT_IRQHandler ()
 
void rit_enable (void_func_t function, uint32_t time_ms)
 
void rit_disable (void)
 Disables the RIT setup by sys_rit_setup() More...
 
bool rit_is_running (void)
 

Function Documentation

void rit_disable ( void  )

Disables the RIT setup by sys_rit_setup()

void rit_enable ( void_func_t  function,
uint32_t  time_ms 
)

Setup a repetitive callback function at the given time.

Parameters
[in]functionThe void function name
[in]time_msThe time in milliseconds
void RIT_IRQHandler ( void  )

RIT Interrupt function (see startup.cpp)

bool rit_is_running ( void  )
Returns
true if the RIT is running.