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

Detailed Description

Macros

#define LPC_GPIO0_BASE   0x2009C000
 
#define LPC_GPIO1_BASE   0x2009C020
 
#define LPC_GPIO2_BASE   0x2009C040
 
#define LPC_GPIO3_BASE   0x20098060
 
#define LPC_GPIO4_BASE   0x2009C080
 
#define LPC_WWDT_BASE   0x40000000
 
#define LPC_TIMER0_BASE   0x40004000
 
#define LPC_TIMER1_BASE   0x40008000
 
#define LPC_UART0_BASE   0x4000C000
 
#define LPC_UART1_BASE   0x40010000
 
#define LPC_PWM1_BASE   0x40018000
 
#define LPC_I2C0_BASE   0x4001C000
 
#define LPC_SPI_BASE   0x40020000
 
#define LPC_RTC_BASE   0x40024000
 
#define LPC_REGFILE_BASE   0x40024044
 
#define LPC_GPIOINT_BASE   0x40028000
 
#define LPC_IOCON_BASE   0x4002C000
 
#define LPC_SSP1_BASE   0x40030000
 
#define LPC_ADC_BASE   0x40034000
 
#define LPC_CANAF_RAM_BASE   0x40038000
 
#define LPC_CANAF_BASE   0x4003C000
 
#define LPC_CANCR_BASE   0x40040000
 
#define LPC_CAN1_BASE   0x40044000
 
#define LPC_CAN2_BASE   0x40048000
 
#define LPC_I2C1_BASE   0x4005C000
 
#define LPC_SSP0_BASE   0x40088000
 
#define LPC_DAC_BASE   0x4008C000
 
#define LPC_TIMER2_BASE   0x40090000
 
#define LPC_TIMER3_BASE   0x40094000
 
#define LPC_UART2_BASE   0x40098000
 
#define LPC_UART3_BASE   0x4009C000
 
#define LPC_I2C2_BASE   0x400A0000
 
#define LPC_I2S_BASE   0x400A8000
 
#define LPC_RITIMER_BASE   0x400B0000
 
#define LPC_MCPWM_BASE   0x400B8000
 
#define LPC_QEI_BASE   0x400BC000
 
#define LPC_SYSCTL_BASE   0x400FC000
 
#define LPC_ENET_BASE   0x50000000
 
#define LPC_GPDMA_BASE   0x50004000
 
#define LPC_USB_BASE   0x5000C000
 
#define LPC_GPDMA   ((IP_GPDMA_001_T *) LPC_GPDMA_BASE)
 
#define LPC_USB   ((IP_USB_001_T *) LPC_USB_BASE)
 
#define LPC_ETHERNET   ((IP_ENET_002_T *) LPC_ENET_BASE)
 
#define LPC_GPIO   ((IP_GPIO_002_T *) LPC_GPIO0_BASE)
 
#define LPC_GPIO1   ((IP_GPIO_002_T *) LPC_GPIO1_BASE)
 
#define LPC_GPIO2   ((IP_GPIO_002_T *) LPC_GPIO2_BASE)
 
#define LPC_GPIO3   ((IP_GPIO_002_T *) LPC_GPIO3_BASE)
 
#define LPC_GPIO4   ((IP_GPIO_002_T *) LPC_GPIO4_BASE)
 
#define LPC_RTC   ((IP_RTC_001_T *) LPC_RTC_BASE)
 
#define LPC_REGFILE   ((IP_REGFILE_001_T *) LPC_REGFILE_BASE)
 
#define LPC_WWDT   ((IP_WWDT_001_T *) LPC_WWDT_BASE)
 
#define LPC_UART0   ((IP_USART_001_T *) LPC_UART0_BASE)
 
#define LPC_UART1   ((IP_USART_001_T *) LPC_UART1_BASE)
 
#define LPC_UART2   ((IP_USART_001_T *) LPC_UART2_BASE)
 
#define LPC_UART3   ((IP_USART_001_T *) LPC_UART3_BASE)
 
#define LPC_SPI   ((IP_SPI_001_T *) LPC_SPI_BASE)
 
#define LPC_SSP0   ((IP_SSP_001_T *) LPC_SSP0_BASE)
 
#define LPC_SSP1   ((IP_SSP_001_T *) LPC_SSP1_BASE)
 
#define LPC_TIMER0   ((IP_TIMER_001_T *) LPC_TIMER0_BASE)
 
#define LPC_TIMER1   ((IP_TIMER_001_T *) LPC_TIMER1_BASE)
 
#define LPC_TIMER2   ((IP_TIMER_001_T *) LPC_TIMER2_BASE)
 
#define LPC_TIMER3   ((IP_TIMER_001_T *) LPC_TIMER3_BASE)
 
#define LPC_MCPWM   ((IP_MCPWM_001_T *) LPC_MCPWM_BASE)
 
#define LPC_I2C0   ((IP_I2C_001_T *) LPC_I2C0_BASE)
 
#define LPC_I2C1   ((IP_I2C_001_T *) LPC_I2C1_BASE)
 
#define LPC_I2C2   ((IP_I2C_001_T *) LPC_I2C2_BASE)
 
#define LPC_I2S   ((IP_I2S_001_T *) LPC_I2S_BASE)
 
#define LPC_QEI   ((IP_QEI_001_T *) LPC_QEI_BASE)
 
#define LPC_DAC   ((IP_DAC_001_T *) LPC_DAC_BASE)
 
#define LPC_ADC   ((IP_ADC_001_T *) LPC_ADC_BASE)
 
#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)
 
#define LPC_SYSCTL   ((LPC_SYSCTL_T *) LPC_SYSCTL_BASE)
 
#define LPC_CANAF_RAM   ((LPC_CANAF_RAM_T *) LPC_CANAF_RAM_BASE)
 
#define LPC_CANAF   ((LPC_CANAF_T *) LPC_CANAF_BASE)
 
#define LPC_CANCR   ((LPC_CANCR_T *) LPC_CANCR_BASE)
 
#define LPC_CAN1   ((LPC_CAN_T *) LPC_CAN1_BASE)
 
#define LPC_CAN2   ((LPC_CAN_T *) LPC_CAN2_BASE)
 
#define LPC_RITIMER   ((IP_RITIMER_001_T *) LPC_RITIMER_BASE)
 

Typedefs

typedef IP_GPDMA_001_T LPC_GPDMA_T
 
typedef IP_USB_001_T LPC_USB_T
 
typedef IP_ENET_002_T LPC_ENET_T
 
typedef IP_REGFILE_001_T LPC_REGFILE_T
 
typedef IP_RTC_001_T LPC_RTC_T
 
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_SPI_001_T LPC_SPI_T
 
typedef IP_TIMER_001_T LPC_TIMER_T
 
typedef IP_MCPWM_001_T LPC_MCPWM_T
 
typedef IP_I2C_001_T LPC_I2C_T
 
typedef IP_I2S_001_T LPC_I2S_T
 
typedef IP_QEI_001_T LPC_QEI_T
 
typedef IP_DAC_001_T LPC_DAC_T
 
typedef IP_ADC_001_T LPC_ADC_T
 
typedef IP_GPIO_002_T LPC_GPIO_T
 
typedef IP_CAN_001_AF_RAM_T LPC_CANAF_RAM_T
 
typedef IP_CAN_001_AF_T LPC_CANAF_T
 
typedef IP_CAN_001_CR_T LPC_CANCR_T
 
typedef IP_CAN_001_T LPC_CAN_T
 
typedef IP_RITIMER_001_T LPC_RITIMER_T
 

Macro Definition Documentation

#define LPC_ADC   ((IP_ADC_001_T *) LPC_ADC_BASE)

Definition at line 208 of file chip_lpc175x_6x.h.

#define LPC_ADC_BASE   0x40034000

Definition at line 126 of file chip_lpc175x_6x.h.

#define LPC_CAN1   ((LPC_CAN_T *) LPC_CAN1_BASE)

Definition at line 214 of file chip_lpc175x_6x.h.

#define LPC_CAN1_BASE   0x40044000

Definition at line 130 of file chip_lpc175x_6x.h.

#define LPC_CAN2   ((LPC_CAN_T *) LPC_CAN2_BASE)

Definition at line 215 of file chip_lpc175x_6x.h.

#define LPC_CAN2_BASE   0x40048000

Definition at line 131 of file chip_lpc175x_6x.h.

#define LPC_CANAF   ((LPC_CANAF_T *) LPC_CANAF_BASE)

Definition at line 212 of file chip_lpc175x_6x.h.

#define LPC_CANAF_BASE   0x4003C000

Definition at line 128 of file chip_lpc175x_6x.h.

#define LPC_CANAF_RAM   ((LPC_CANAF_RAM_T *) LPC_CANAF_RAM_BASE)

Definition at line 211 of file chip_lpc175x_6x.h.

#define LPC_CANAF_RAM_BASE   0x40038000

Definition at line 127 of file chip_lpc175x_6x.h.

#define LPC_CANCR   ((LPC_CANCR_T *) LPC_CANCR_BASE)

Definition at line 213 of file chip_lpc175x_6x.h.

#define LPC_CANCR_BASE   0x40040000

Definition at line 129 of file chip_lpc175x_6x.h.

#define LPC_DAC   ((IP_DAC_001_T *) LPC_DAC_BASE)

Definition at line 207 of file chip_lpc175x_6x.h.

#define LPC_DAC_BASE   0x4008C000

Definition at line 136 of file chip_lpc175x_6x.h.

#define LPC_ENET_BASE   0x50000000

Definition at line 149 of file chip_lpc175x_6x.h.

#define LPC_ETHERNET   ((IP_ENET_002_T *) LPC_ENET_BASE)

Definition at line 181 of file chip_lpc175x_6x.h.

#define LPC_GPDMA   ((IP_GPDMA_001_T *) LPC_GPDMA_BASE)

Definition at line 179 of file chip_lpc175x_6x.h.

#define LPC_GPDMA_BASE   0x50004000

Definition at line 150 of file chip_lpc175x_6x.h.

#define LPC_GPIO   ((IP_GPIO_002_T *) LPC_GPIO0_BASE)

Definition at line 182 of file chip_lpc175x_6x.h.

#define LPC_GPIO0_BASE   0x2009C000

Definition at line 106 of file chip_lpc175x_6x.h.

#define LPC_GPIO1   ((IP_GPIO_002_T *) LPC_GPIO1_BASE)

Definition at line 183 of file chip_lpc175x_6x.h.

#define LPC_GPIO1_BASE   0x2009C020

Definition at line 107 of file chip_lpc175x_6x.h.

#define LPC_GPIO2   ((IP_GPIO_002_T *) LPC_GPIO2_BASE)

Definition at line 184 of file chip_lpc175x_6x.h.

#define LPC_GPIO2_BASE   0x2009C040

Definition at line 108 of file chip_lpc175x_6x.h.

#define LPC_GPIO3   ((IP_GPIO_002_T *) LPC_GPIO3_BASE)

Definition at line 185 of file chip_lpc175x_6x.h.

#define LPC_GPIO3_BASE   0x20098060

Definition at line 109 of file chip_lpc175x_6x.h.

#define LPC_GPIO4   ((IP_GPIO_002_T *) LPC_GPIO4_BASE)

Definition at line 186 of file chip_lpc175x_6x.h.

#define LPC_GPIO4_BASE   0x2009C080

Definition at line 110 of file chip_lpc175x_6x.h.

#define LPC_GPIOINT_BASE   0x40028000

Definition at line 123 of file chip_lpc175x_6x.h.

#define LPC_I2C0   ((IP_I2C_001_T *) LPC_I2C0_BASE)

Definition at line 202 of file chip_lpc175x_6x.h.

#define LPC_I2C0_BASE   0x4001C000

Definition at line 119 of file chip_lpc175x_6x.h.

#define LPC_I2C1   ((IP_I2C_001_T *) LPC_I2C1_BASE)

Definition at line 203 of file chip_lpc175x_6x.h.

#define LPC_I2C1_BASE   0x4005C000

Definition at line 132 of file chip_lpc175x_6x.h.

#define LPC_I2C2   ((IP_I2C_001_T *) LPC_I2C2_BASE)

Definition at line 204 of file chip_lpc175x_6x.h.

#define LPC_I2C2_BASE   0x400A0000

Definition at line 141 of file chip_lpc175x_6x.h.

#define LPC_I2S   ((IP_I2S_001_T *) LPC_I2S_BASE)

Definition at line 205 of file chip_lpc175x_6x.h.

#define LPC_I2S_BASE   0x400A8000

Definition at line 142 of file chip_lpc175x_6x.h.

#define LPC_IOCON   ((LPC_IOCON_T *) LPC_IOCON_BASE)

Definition at line 209 of file chip_lpc175x_6x.h.

#define LPC_IOCON_BASE   0x4002C000

Definition at line 124 of file chip_lpc175x_6x.h.

#define LPC_MCPWM   ((IP_MCPWM_001_T *) LPC_MCPWM_BASE)

Definition at line 201 of file chip_lpc175x_6x.h.

#define LPC_MCPWM_BASE   0x400B8000

Definition at line 144 of file chip_lpc175x_6x.h.

#define LPC_PWM1_BASE   0x40018000

Definition at line 118 of file chip_lpc175x_6x.h.

#define LPC_QEI   ((IP_QEI_001_T *) LPC_QEI_BASE)

Definition at line 206 of file chip_lpc175x_6x.h.

#define LPC_QEI_BASE   0x400BC000

Definition at line 145 of file chip_lpc175x_6x.h.

#define LPC_REGFILE   ((IP_REGFILE_001_T *) LPC_REGFILE_BASE)

Definition at line 188 of file chip_lpc175x_6x.h.

#define LPC_REGFILE_BASE   0x40024044

Definition at line 122 of file chip_lpc175x_6x.h.

#define LPC_RITIMER   ((IP_RITIMER_001_T *) LPC_RITIMER_BASE)

Definition at line 216 of file chip_lpc175x_6x.h.

#define LPC_RITIMER_BASE   0x400B0000

Definition at line 143 of file chip_lpc175x_6x.h.

#define LPC_RTC   ((IP_RTC_001_T *) LPC_RTC_BASE)

Definition at line 187 of file chip_lpc175x_6x.h.

#define LPC_RTC_BASE   0x40024000

Definition at line 121 of file chip_lpc175x_6x.h.

#define LPC_SPI   ((IP_SPI_001_T *) LPC_SPI_BASE)

Definition at line 194 of file chip_lpc175x_6x.h.

#define LPC_SPI_BASE   0x40020000

Definition at line 120 of file chip_lpc175x_6x.h.

#define LPC_SSP0   ((IP_SSP_001_T *) LPC_SSP0_BASE)

Definition at line 195 of file chip_lpc175x_6x.h.

#define LPC_SSP0_BASE   0x40088000

Definition at line 135 of file chip_lpc175x_6x.h.

#define LPC_SSP1   ((IP_SSP_001_T *) LPC_SSP1_BASE)

Definition at line 196 of file chip_lpc175x_6x.h.

#define LPC_SSP1_BASE   0x40030000

Definition at line 125 of file chip_lpc175x_6x.h.

#define LPC_SYSCTL   ((LPC_SYSCTL_T *) LPC_SYSCTL_BASE)

Definition at line 210 of file chip_lpc175x_6x.h.

#define LPC_SYSCTL_BASE   0x400FC000

Definition at line 146 of file chip_lpc175x_6x.h.

#define LPC_TIMER0   ((IP_TIMER_001_T *) LPC_TIMER0_BASE)

Definition at line 197 of file chip_lpc175x_6x.h.

#define LPC_TIMER0_BASE   0x40004000

Definition at line 114 of file chip_lpc175x_6x.h.

#define LPC_TIMER1   ((IP_TIMER_001_T *) LPC_TIMER1_BASE)

Definition at line 198 of file chip_lpc175x_6x.h.

#define LPC_TIMER1_BASE   0x40008000

Definition at line 115 of file chip_lpc175x_6x.h.

#define LPC_TIMER2   ((IP_TIMER_001_T *) LPC_TIMER2_BASE)

Definition at line 199 of file chip_lpc175x_6x.h.

#define LPC_TIMER2_BASE   0x40090000

Definition at line 137 of file chip_lpc175x_6x.h.

#define LPC_TIMER3   ((IP_TIMER_001_T *) LPC_TIMER3_BASE)

Definition at line 200 of file chip_lpc175x_6x.h.

#define LPC_TIMER3_BASE   0x40094000

Definition at line 138 of file chip_lpc175x_6x.h.

#define LPC_UART0   ((IP_USART_001_T *) LPC_UART0_BASE)

Definition at line 190 of file chip_lpc175x_6x.h.

#define LPC_UART0_BASE   0x4000C000

Definition at line 116 of file chip_lpc175x_6x.h.

#define LPC_UART1   ((IP_USART_001_T *) LPC_UART1_BASE)

Definition at line 191 of file chip_lpc175x_6x.h.

#define LPC_UART1_BASE   0x40010000

Definition at line 117 of file chip_lpc175x_6x.h.

#define LPC_UART2   ((IP_USART_001_T *) LPC_UART2_BASE)

Definition at line 192 of file chip_lpc175x_6x.h.

#define LPC_UART2_BASE   0x40098000

Definition at line 139 of file chip_lpc175x_6x.h.

#define LPC_UART3   ((IP_USART_001_T *) LPC_UART3_BASE)

Definition at line 193 of file chip_lpc175x_6x.h.

#define LPC_UART3_BASE   0x4009C000

Definition at line 140 of file chip_lpc175x_6x.h.

#define LPC_USB   ((IP_USB_001_T *) LPC_USB_BASE)

Definition at line 180 of file chip_lpc175x_6x.h.

#define LPC_USB_BASE   0x5000C000

Definition at line 151 of file chip_lpc175x_6x.h.

#define LPC_WWDT   ((IP_WWDT_001_T *) LPC_WWDT_BASE)

Definition at line 189 of file chip_lpc175x_6x.h.

#define LPC_WWDT_BASE   0x40000000

Definition at line 113 of file chip_lpc175x_6x.h.

Typedef Documentation

Definition at line 169 of file chip_lpc175x_6x.h.

Definition at line 174 of file chip_lpc175x_6x.h.

Definition at line 171 of file chip_lpc175x_6x.h.

Definition at line 172 of file chip_lpc175x_6x.h.

Definition at line 173 of file chip_lpc175x_6x.h.

Definition at line 168 of file chip_lpc175x_6x.h.

Definition at line 156 of file chip_lpc175x_6x.h.

Definition at line 154 of file chip_lpc175x_6x.h.

Definition at line 170 of file chip_lpc175x_6x.h.

Definition at line 165 of file chip_lpc175x_6x.h.

Definition at line 166 of file chip_lpc175x_6x.h.

Definition at line 164 of file chip_lpc175x_6x.h.

Definition at line 167 of file chip_lpc175x_6x.h.

Definition at line 157 of file chip_lpc175x_6x.h.

Definition at line 175 of file chip_lpc175x_6x.h.

Definition at line 158 of file chip_lpc175x_6x.h.

Definition at line 162 of file chip_lpc175x_6x.h.

Definition at line 161 of file chip_lpc175x_6x.h.

Definition at line 163 of file chip_lpc175x_6x.h.

Definition at line 160 of file chip_lpc175x_6x.h.

Definition at line 155 of file chip_lpc175x_6x.h.

Definition at line 159 of file chip_lpc175x_6x.h.