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

Detailed Description

Macros

#define LPC_I2C_BASE   0x40000000
 
#define LPC_WWDT_BASE   0x40004000
 
#define LPC_USART_BASE   0x40008000
 
#define LPC_TIMER16_0_BASE   0x4000C000
 
#define LPC_TIMER16_1_BASE   0x40010000
 
#define LPC_TIMER32_0_BASE   0x40014000
 
#define LPC_TIMER32_1_BASE   0x40018000
 
#define LPC_ADC_BASE   0x4001C000
 
#define LPC_PMU_BASE   0x40038000
 
#define LPC_FLASH_BASE   0x4003C000
 
#define LPC_SSP0_BASE   0x40040000
 
#define LPC_SSP1_BASE   0x40058000
 
#define LPC_IOCON_BASE   0x40044000
 
#define LPC_SYSCTL_BASE   0x40048000
 
#define LPC_GPIO_PORT0_BASE   0x50000000
 
#define LPC_GPIO_PORT1_BASE   0x50010000
 
#define LPC_GPIO_PORT2_BASE   0x50020000
 
#define LPC_GPIO_PORT3_BASE   0x50030000
 
#define LPC_USB0_BASE   0x40020000
 
#define LPC_ADC   ((IP_ADC_001_T *) LPC_ADC_BASE)
 
#define LPC_I2C   ((IP_I2C_001_T *) LPC_I2C_BASE)
 
#define LPC_WWDT   ((IP_WWDT_001_T *) LPC_WWDT_BASE)
 
#define LPC_USART   ((IP_USART_001_T *) LPC_USART_BASE)
 
#define LPC_TIMER16_0   ((IP_TIMER_001_T *) LPC_TIMER16_0_BASE)
 
#define LPC_TIMER16_1   ((IP_TIMER_001_T *) LPC_TIMER16_1_BASE)
 
#define LPC_TIMER32_0   ((IP_TIMER_001_T *) LPC_TIMER32_0_BASE)
 
#define LPC_TIMER32_1   ((IP_TIMER_001_T *) LPC_TIMER32_1_BASE)
 
#define LPC_PMU   ((LPC_PMU_T *) LPC_PMU_BASE)
 
#define LPC_FMC   ((LPC_FMC_T *) LPC_FLASH_BASE)
 
#define LPC_SSP0   ((IP_SSP_001_T *) LPC_SSP0_BASE)
 
#define LPC_SSP1   ((IP_SSP_001_T *) LPC_SSP1_BASE)
 
#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)
 
#define LPC_SYSCTL   ((LPC_SYSCTL_T *) LPC_SYSCTL_BASE)
 
#define LPC_GPIO_PORT   ((IP_GPIO_003_T *) LPC_GPIO_PORT0_BASE)
 

Typedefs

typedef IP_WWDT_001_T LPC_WWDT_T
 
typedef IP_USART_001_T LPC_USART_T
 
typedef IP_SSP_001_T LPC_SSP_T
 
typedef IP_TIMER_001_T LPC_TIMER_T
 
typedef IP_I2C_001_T LPC_I2C_T
 
typedef IP_ADC_001_T LPC_ADC_T
 
typedef IP_GPIO_003_T LPC_GPIO_T
 

Macro Definition Documentation

#define LPC_ADC   ((IP_ADC_001_T *) LPC_ADC_BASE)

Definition at line 191 of file chip.h.

#define LPC_ADC_BASE   0x4001C000

Definition at line 154 of file chip.h.

#define LPC_FLASH_BASE   0x4003C000

Definition at line 156 of file chip.h.

#define LPC_FMC   ((LPC_FMC_T *) LPC_FLASH_BASE)

Definition at line 200 of file chip.h.

#define LPC_GPIO_PORT   ((IP_GPIO_003_T *) LPC_GPIO_PORT0_BASE)

Definition at line 213 of file chip.h.

#define LPC_GPIO_PORT0_BASE   0x50000000

Definition at line 169 of file chip.h.

#define LPC_GPIO_PORT1_BASE   0x50010000

Definition at line 170 of file chip.h.

#define LPC_GPIO_PORT2_BASE   0x50020000

Definition at line 171 of file chip.h.

#define LPC_GPIO_PORT3_BASE   0x50030000

Definition at line 172 of file chip.h.

#define LPC_I2C   ((IP_I2C_001_T *) LPC_I2C_BASE)

Definition at line 192 of file chip.h.

#define LPC_I2C_BASE   0x40000000

Definition at line 147 of file chip.h.

#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)

Definition at line 203 of file chip.h.

#define LPC_IOCON_BASE   0x40044000

Definition at line 159 of file chip.h.

#define LPC_PMU   ((LPC_PMU_T *) LPC_PMU_BASE)

Definition at line 199 of file chip.h.

#define LPC_PMU_BASE   0x40038000

Definition at line 155 of file chip.h.

#define LPC_SSP0   ((IP_SSP_001_T *) LPC_SSP0_BASE)

Definition at line 201 of file chip.h.

#define LPC_SSP0_BASE   0x40040000

Definition at line 157 of file chip.h.

#define LPC_SSP1   ((IP_SSP_001_T *) LPC_SSP1_BASE)

Definition at line 202 of file chip.h.

#define LPC_SSP1_BASE   0x40058000

Definition at line 158 of file chip.h.

#define LPC_SYSCTL   ((LPC_SYSCTL_T *) LPC_SYSCTL_BASE)

Definition at line 204 of file chip.h.

#define LPC_SYSCTL_BASE   0x40048000

Definition at line 160 of file chip.h.

#define LPC_TIMER16_0   ((IP_TIMER_001_T *) LPC_TIMER16_0_BASE)

Definition at line 195 of file chip.h.

#define LPC_TIMER16_0_BASE   0x4000C000

Definition at line 150 of file chip.h.

#define LPC_TIMER16_1   ((IP_TIMER_001_T *) LPC_TIMER16_1_BASE)

Definition at line 196 of file chip.h.

#define LPC_TIMER16_1_BASE   0x40010000

Definition at line 151 of file chip.h.

#define LPC_TIMER32_0   ((IP_TIMER_001_T *) LPC_TIMER32_0_BASE)

Definition at line 197 of file chip.h.

#define LPC_TIMER32_0_BASE   0x40014000

Definition at line 152 of file chip.h.

#define LPC_TIMER32_1   ((IP_TIMER_001_T *) LPC_TIMER32_1_BASE)

Definition at line 198 of file chip.h.

#define LPC_TIMER32_1_BASE   0x40018000

Definition at line 153 of file chip.h.

#define LPC_USART   ((IP_USART_001_T *) LPC_USART_BASE)

Definition at line 194 of file chip.h.

#define LPC_USART_BASE   0x40008000

Definition at line 149 of file chip.h.

#define LPC_USB0_BASE   0x40020000

Definition at line 173 of file chip.h.

#define LPC_WWDT   ((IP_WWDT_001_T *) LPC_WWDT_BASE)

Definition at line 193 of file chip.h.

#define LPC_WWDT_BASE   0x40004000

Definition at line 148 of file chip.h.

Typedef Documentation

Definition at line 182 of file chip.h.

Definition at line 188 of file chip.h.

Definition at line 181 of file chip.h.

Definition at line 179 of file chip.h.

Definition at line 180 of file chip.h.

Definition at line 178 of file chip.h.

Definition at line 177 of file chip.h.