uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpc17xx_rit.h File Reference

Contains all macro definitions and function prototypes support for RIT firmware library on LPC17xx. More...

#include "LPC17xx.h"
#include "lpc_types.h"

Go to the source code of this file.

Macros

#define RIT_CTRL_INTEN   ((uint32_t) (1))
 
#define RIT_CTRL_ENCLR   ((uint32_t) _BIT(1))
 
#define RIT_CTRL_ENBR   ((uint32_t) _BIT(2))
 
#define RIT_CTRL_TEN   ((uint32_t) _BIT(3))
 
#define PARAM_RITx(n)   (((uint32_t *)n)==((uint32_t *)LPC_RIT))
 

Functions

void RIT_Init (LPC_RIT_TypeDef *RITx)
 
void RIT_DeInit (LPC_RIT_TypeDef *RITx)
 
void RIT_TimerConfig (LPC_RIT_TypeDef *RITx, uint32_t time_interval)
 
void RIT_TimerClearCmd (LPC_RIT_TypeDef *RITx, FunctionalState NewState)
 
void RIT_Cmd (LPC_RIT_TypeDef *RITx, FunctionalState NewState)
 
void RIT_TimerDebugCmd (LPC_RIT_TypeDef *RITx, FunctionalState NewState)
 
IntStatus RIT_GetIntStatus (LPC_RIT_TypeDef *RITx)
 

Detailed Description

Contains all macro definitions and function prototypes support for RIT firmware library on LPC17xx.

Version
2.0
Date
21. May. 2010
Author
NXP MCU SW Application Team

Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.

Definition in file lpc17xx_rit.h.