CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
reg_macros.h File Reference

For NXP reg macros. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define REG16   volatile unsigned short
#define REG32   volatile unsigned int
#define REG8   volatile unsigned char
#define REG_16   REG_16
#define REG_32   REG_32
#define REG_8   REG8
#define VBP_REG(APB_peripheral, reg_name)   (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off)
#define VBP_REG16(APB_peripheral, reg_name)   (*(REG16*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off))
#define VBP_REG32(APB_peripheral, reg_name)   (*(REG32*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off))
#define VBP_REG8(APB_peripheral, reg_name)   (*(REG8*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off))
#define VBP_REG_PER_BASE_ADDRES(peripheral)   LPC_##peripheral##_BASE

Detailed Description

For NXP reg macros.

Author
Dmitriy Cherepanov
Date
2010

Definition in file reg_macros.h.