LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Macros
CHIP: LPC11xx Peripheral addresses and register set declarations

Detailed Description

Macros

#define LPC_I2C_BASE   0x40000000
 
#define LPC_WWDT_BASE   0x40004000
 
#define LPC_UART0_BASE   0x40008000
 
#define LPC_UART1_BASE   0x40020000
 
#define LPC_UART2_BASE   0x40024000
 
#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_IOCON_BASE   0x40044000
 
#define LPC_SYSCON_BASE   0x40048000
 
#define LPC_SSP1_BASE   0x40058000
 
#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_I2C   ((LPC_I2C_T *) LPC_I2C_BASE)
 
#define LPC_WWDT   ((LPC_WWDT_T *) LPC_WWDT_BASE)
 
#define LPC_UART0   ((LPC_UART_T *) LPC_UART0_BASE)
 
#define LPC_UART1   ((LPC_UART_T *) LPC_UART1_BASE)
 
#define LPC_UART2   ((LPC_UART_T *) LPC_UART2_BASE)
 
#define LPC_TIMER16_0   ((LPC_TIMER_T *) LPC_TIMER16_0_BASE)
 
#define LPC_TIMER16_1   ((LPC_TIMER_T *) LPC_TIMER16_1_BASE)
 
#define LPC_TIMER32_0   ((LPC_TIMER_T *) LPC_TIMER32_0_BASE)
 
#define LPC_TIMER32_1   ((LPC_TIMER_T *) LPC_TIMER32_1_BASE)
 
#define LPC_ADC   ((LPC_ADC_T *) LPC_ADC_BASE)
 
#define LPC_PMU   ((LPC_PMU_T *) LPC_PMU_BASE)
 
#define LPC_FMC   ((LPC_FMC_T *) LPC_FLASH_BASE)
 
#define LPC_SSP0   ((LPC_SSP_T *) LPC_SSP0_BASE)
 
#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)
 
#define LPC_SYSCON   ((LPC_SYSCON_T*) LPC_SYSCON_BASE)
 
#define LPC_SSP1   ((LPC_SSP_T *) LPC_SSP1_BASE)
 
#define LPC_GPIO   ((LPC_GPIO_T *) LPC_GPIO_PORT0_BASE)
 

Macro Definition Documentation

#define LPC_ADC   ((LPC_ADC_T *) LPC_ADC_BASE)

Definition at line 105 of file chip.h.

#define LPC_ADC_BASE   0x4001C000

Definition at line 84 of file chip.h.

#define LPC_FLASH_BASE   0x4003C000

Definition at line 86 of file chip.h.

#define LPC_FMC   ((LPC_FMC_T *) LPC_FLASH_BASE)

Definition at line 107 of file chip.h.

#define LPC_GPIO   ((LPC_GPIO_T *) LPC_GPIO_PORT0_BASE)

Definition at line 112 of file chip.h.

#define LPC_GPIO_PORT0_BASE   0x50000000

Definition at line 91 of file chip.h.

#define LPC_GPIO_PORT1_BASE   0x50010000

Definition at line 92 of file chip.h.

#define LPC_GPIO_PORT2_BASE   0x50020000

Definition at line 93 of file chip.h.

#define LPC_GPIO_PORT3_BASE   0x50030000

Definition at line 94 of file chip.h.

#define LPC_I2C   ((LPC_I2C_T *) LPC_I2C_BASE)

Definition at line 96 of file chip.h.

#define LPC_I2C_BASE   0x40000000

Definition at line 75 of file chip.h.

#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)

Definition at line 109 of file chip.h.

#define LPC_IOCON_BASE   0x40044000

Definition at line 88 of file chip.h.

#define LPC_PMU   ((LPC_PMU_T *) LPC_PMU_BASE)

Definition at line 106 of file chip.h.

#define LPC_PMU_BASE   0x40038000

Definition at line 85 of file chip.h.

#define LPC_SSP0   ((LPC_SSP_T *) LPC_SSP0_BASE)

Definition at line 108 of file chip.h.

#define LPC_SSP0_BASE   0x40040000

Definition at line 87 of file chip.h.

#define LPC_SSP1   ((LPC_SSP_T *) LPC_SSP1_BASE)

Definition at line 111 of file chip.h.

#define LPC_SSP1_BASE   0x40058000

Definition at line 90 of file chip.h.

#define LPC_SYSCON   ((LPC_SYSCON_T*) LPC_SYSCON_BASE)

Definition at line 110 of file chip.h.

#define LPC_SYSCON_BASE   0x40048000

Definition at line 89 of file chip.h.

#define LPC_TIMER16_0   ((LPC_TIMER_T *) LPC_TIMER16_0_BASE)

Definition at line 101 of file chip.h.

#define LPC_TIMER16_0_BASE   0x4000C000

Definition at line 80 of file chip.h.

#define LPC_TIMER16_1   ((LPC_TIMER_T *) LPC_TIMER16_1_BASE)

Definition at line 102 of file chip.h.

#define LPC_TIMER16_1_BASE   0x40010000

Definition at line 81 of file chip.h.

#define LPC_TIMER32_0   ((LPC_TIMER_T *) LPC_TIMER32_0_BASE)

Definition at line 103 of file chip.h.

#define LPC_TIMER32_0_BASE   0x40014000

Definition at line 82 of file chip.h.

#define LPC_TIMER32_1   ((LPC_TIMER_T *) LPC_TIMER32_1_BASE)

Definition at line 104 of file chip.h.

#define LPC_TIMER32_1_BASE   0x40018000

Definition at line 83 of file chip.h.

#define LPC_UART0   ((LPC_UART_T *) LPC_UART0_BASE)

Definition at line 98 of file chip.h.

#define LPC_UART0_BASE   0x40008000

Definition at line 77 of file chip.h.

#define LPC_UART1   ((LPC_UART_T *) LPC_UART1_BASE)

Definition at line 99 of file chip.h.

#define LPC_UART1_BASE   0x40020000

Definition at line 78 of file chip.h.

#define LPC_UART2   ((LPC_UART_T *) LPC_UART2_BASE)

Definition at line 100 of file chip.h.

#define LPC_UART2_BASE   0x40024000

Definition at line 79 of file chip.h.

#define LPC_WWDT   ((LPC_WWDT_T *) LPC_WWDT_BASE)

Definition at line 97 of file chip.h.

#define LPC_WWDT_BASE   0x40004000

Definition at line 76 of file chip.h.