LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CHIP: LPC8xx Peripheral addresses and register set declarations

Detailed Description

Macros

#define LPC_FLASH_BASE   (0x00000000UL)
 
#define LPC_RAM_BASE   (0x10000000UL)
 
#define LPC_ROM_BASE   (0x1FFF0000UL)
 
#define LPC_APB0_BASE   (0x40000000UL)
 
#define LPC_AHB_BASE   (0x50000000UL)
 
#define LPC_WWDT_BASE   (0x40000000UL)
 
#define LPC_MRT_BASE   (0x40004000UL)
 
#define LPC_WKT_BASE   (0x40008000UL)
 
#define LPC_SWM_BASE   (0x4000C000UL)
 
#define LPC_PMU_BASE   (0x40020000UL)
 
#define LPC_CMP_BASE   (0x40024000UL)
 
#define LPC_FMC_BASE   (0x40040000UL)
 
#define LPC_IOCON_BASE   (0x40044000UL)
 
#define LPC_SYSCTL_BASE   (0x40048000UL)
 
#define LPC_I2C_BASE   (0x40050000UL)
 
#define LPC_SPI0_BASE   (0x40058000UL)
 
#define LPC_SPI1_BASE   (0x4005C000UL)
 
#define LPC_USART0_BASE   (0x40064000UL)
 
#define LPC_USART1_BASE   (0x40068000UL)
 
#define LPC_USART2_BASE   (0x4006C000UL)
 
#define LPC_CRC_BASE   (0x50000000UL)
 
#define LPC_SCT_BASE   (0x50004000UL)
 
#define LPC_GPIO_PORT_BASE   (0xA0000000UL)
 
#define LPC_PIN_INT_BASE   (0xA0004000UL)
 
#define LPC_WWDT   ((LPC_WWDT_T *) LPC_WWDT_BASE)
 
#define LPC_SPI0   ((LPC_SPI_T *) LPC_SPI0_BASE)
 
#define LPC_SPI1   ((LPC_SPI_T *) LPC_SPI1_BASE)
 
#define LPC_USART0   ((LPC_USART_T *) LPC_USART0_BASE)
 
#define LPC_USART1   ((LPC_USART_T *) LPC_USART1_BASE)
 
#define LPC_USART2   ((LPC_USART_T *) LPC_USART2_BASE)
 
#define LPC_WKT   ((LPC_WKT_T *) LPC_WKT_BASE)
 
#define LPC_PMU   ((LPC_PMU_T *) LPC_PMU_BASE)
 
#define LPC_CRC   ((LPC_CRC_T *) LPC_CRC_BASE)
 
#define LPC_SCT   ((LPC_SCT_T *) LPC_SCT_BASE)
 
#define LPC_GPIO_PORT   ((LPC_GPIO_T *) LPC_GPIO_PORT_BASE)
 
#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)
 
#define LPC_SWM   ((LPC_SWM_T *) LPC_SWM_BASE)
 
#define LPC_SYSCTL   ((LPC_SYSCTL_T *) LPC_SYSCTL_BASE)
 
#define LPC_CMP   ((LPC_CMP_T *) LPC_CMP_BASE)
 
#define LPC_FMC   ((LPC_FMC_T *) LPC_FMC_BASE)
 
#define LPC_MRT   ((LPC_MRT_T *) LPC_MRT_BASE)
 

Typedefs

typedef IP_SPI_002_T LPC_SPI_T
 
typedef IP_WWDT_001_T LPC_WWDT_T
 
typedef IP_USART_002_T LPC_USART_T
 
typedef IP_CRC_001_T LPC_CRC_T
 
typedef IP_SCT_001_T LPC_SCT_T
 
typedef ACMP_001_T LPC_CMP_T
 
typedef IP_WKT_001_T LPC_WKT_T
 
typedef IP_GPIO_001_T LPC_GPIO_T
 

Macro Definition Documentation

#define LPC_AHB_BASE   (0x50000000UL)

Definition at line 92 of file chip.h.

#define LPC_APB0_BASE   (0x40000000UL)

Definition at line 91 of file chip.h.

#define LPC_CMP   ((LPC_CMP_T *) LPC_CMP_BASE)

Definition at line 143 of file chip.h.

#define LPC_CMP_BASE   (0x40024000UL)

Definition at line 100 of file chip.h.

#define LPC_CRC   ((LPC_CRC_T *) LPC_CRC_BASE)

Definition at line 137 of file chip.h.

#define LPC_CRC_BASE   (0x50000000UL)

Definition at line 113 of file chip.h.

#define LPC_FLASH_BASE   (0x00000000UL)

Definition at line 88 of file chip.h.

#define LPC_FMC   ((LPC_FMC_T *) LPC_FMC_BASE)

Definition at line 144 of file chip.h.

#define LPC_FMC_BASE   (0x40040000UL)

Definition at line 102 of file chip.h.

#define LPC_GPIO_PORT   ((LPC_GPIO_T *) LPC_GPIO_PORT_BASE)

Definition at line 139 of file chip.h.

#define LPC_GPIO_PORT_BASE   (0xA0000000UL)

Definition at line 116 of file chip.h.

#define LPC_I2C_BASE   (0x40050000UL)

Definition at line 105 of file chip.h.

#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)

Definition at line 140 of file chip.h.

#define LPC_IOCON_BASE   (0x40044000UL)

Definition at line 103 of file chip.h.

#define LPC_MRT   ((LPC_MRT_T *) LPC_MRT_BASE)

Definition at line 145 of file chip.h.

#define LPC_MRT_BASE   (0x40004000UL)

Definition at line 96 of file chip.h.

#define LPC_PIN_INT_BASE   (0xA0004000UL)

Definition at line 117 of file chip.h.

#define LPC_PMU   ((LPC_PMU_T *) LPC_PMU_BASE)

Definition at line 136 of file chip.h.

#define LPC_PMU_BASE   (0x40020000UL)

Definition at line 99 of file chip.h.

#define LPC_RAM_BASE   (0x10000000UL)

Definition at line 89 of file chip.h.

#define LPC_ROM_BASE   (0x1FFF0000UL)

Definition at line 90 of file chip.h.

#define LPC_SCT   ((LPC_SCT_T *) LPC_SCT_BASE)

Definition at line 138 of file chip.h.

#define LPC_SCT_BASE   (0x50004000UL)

Definition at line 114 of file chip.h.

#define LPC_SPI0   ((LPC_SPI_T *) LPC_SPI0_BASE)

Definition at line 130 of file chip.h.

#define LPC_SPI0_BASE   (0x40058000UL)

Definition at line 106 of file chip.h.

#define LPC_SPI1   ((LPC_SPI_T *) LPC_SPI1_BASE)

Definition at line 131 of file chip.h.

#define LPC_SPI1_BASE   (0x4005C000UL)

Definition at line 107 of file chip.h.

#define LPC_SWM   ((LPC_SWM_T *) LPC_SWM_BASE)

Definition at line 141 of file chip.h.

#define LPC_SWM_BASE   (0x4000C000UL)

Definition at line 98 of file chip.h.

#define LPC_SYSCTL   ((LPC_SYSCTL_T *) LPC_SYSCTL_BASE)

Definition at line 142 of file chip.h.

#define LPC_SYSCTL_BASE   (0x40048000UL)

Definition at line 104 of file chip.h.

#define LPC_USART0   ((LPC_USART_T *) LPC_USART0_BASE)

Definition at line 132 of file chip.h.

#define LPC_USART0_BASE   (0x40064000UL)

Definition at line 108 of file chip.h.

#define LPC_USART1   ((LPC_USART_T *) LPC_USART1_BASE)

Definition at line 133 of file chip.h.

#define LPC_USART1_BASE   (0x40068000UL)

Definition at line 109 of file chip.h.

#define LPC_USART2   ((LPC_USART_T *) LPC_USART2_BASE)

Definition at line 134 of file chip.h.

#define LPC_USART2_BASE   (0x4006C000UL)

Definition at line 110 of file chip.h.

#define LPC_WKT   ((LPC_WKT_T *) LPC_WKT_BASE)

Definition at line 135 of file chip.h.

#define LPC_WKT_BASE   (0x40008000UL)

Definition at line 97 of file chip.h.

#define LPC_WWDT   ((LPC_WWDT_T *) LPC_WWDT_BASE)

Definition at line 129 of file chip.h.

#define LPC_WWDT_BASE   (0x40000000UL)

Definition at line 95 of file chip.h.

Typedef Documentation

Definition at line 125 of file chip.h.

Definition at line 123 of file chip.h.

Definition at line 127 of file chip.h.

Definition at line 124 of file chip.h.

Definition at line 120 of file chip.h.

Definition at line 122 of file chip.h.

Definition at line 126 of file chip.h.

Definition at line 121 of file chip.h.