lpc_rit.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include "lpc_sys.h"
Include dependency graph for lpc_rit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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)
 

Detailed Description

This API provides a means to start, stop, and hookup an ISR function to RIT

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
bool rit_is_running ( void  )
Returns
true if the RIT is running.