CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC2xxx generic board

LPC2xxx generic board definition. More...

Collaboration diagram for LPC2xxx generic board:

Macros

#define bsp_board_generic   1
#define BSP_BOARD_HAS_CAN   0
 board has CAN as IRDA
#define BSP_BOARD_HAS_ETHERNET   0
 board has ETHERNET
#define BSP_BOARD_HAS_I2C   0
#define BSP_BOARD_HAS_I2C_PCA9532   0
#define BSP_BOARD_HAS_MMC   0
#define BSP_BOARD_HAS_SD   0
#define BSP_BOARD_HAS_SDRAM   0
 board has SDRAM
#define BSP_BOARD_HAS_SPI   0
#define BSP_BOARD_HAS_SPI_TSC2046   0
#define BSP_BOARD_HAS_UART0   1
 board has UART0
#define BSP_BOARD_HAS_UART1   0
 board has UART1
#define BSP_BOARD_HAS_UART2   0
 board has UART3 as IRDA
#define BSP_BOARD_HAS_USB   0
 board has USB
#define BSP_BOARD_HAS_USB_DEVICE   0
 board has USB DEVICE on USB2
#define BSP_BOARD_HAS_USB_HOST   0
 board has USB HOST on USB1
#define BSP_BOARD_HAS_USB_OTG   0
 board has OTG USB on USB2
#define CCLKCFG_Val   3
#define CLKSRCSEL_Val   CLKSRCSEL_XTAL
#define i_ARCH   ARM7
#define i_BOARD   GENERIC_BOARD
#define i_MCU_FAMILY   LPC2xxx
#define i_MCU_MODEL   2478
#define i_VENDOR   GENERIC_VERNDOR
#define i_VERSION   0x010100 /* version 1.1.0*/
#define LPC2xxx_CLOCK_SETUP   1
#define LPC2xxx_FLASH_SETUP   1
 Enabling MAM.
#define LPC2xxx_PLL_SETUP   1
#define LPC2xxx_SDRAM_SETUP   BSP_BOARD_HAS_SDRAM
#define LPC2xxx_VIC_SETUP   1
#define MAMCR_Val   LPC_SC_MAM_MODE_FULL
#define PCLKSEL0_Val   (LPC2XXX_PCLK_V(WDT,4) | LPC2XXX_PCLK_V(TIMER0,1))
#define PCLKSEL1_Val   (LPC2XXX_PCLK_V(BAT_RAM,4) | LPC2XXX_PCLK_V(SYSCON,4))
#define PLL_MValue   11
#define PLL_NValue   0
#define port_spi_chip_disselect(chip_num)
#define port_spi_chip_select(chip_num)
#define port_spi_chip_select_init()
#define USBCLKCFG_Val   5
#define XTAL_HZ   12000000UL

Detailed Description

LPC2xxx generic board definition.

File is used to describe generic using of MCU UART0 is only activated.

Macro Definition Documentation

#define bsp_board_generic   1

Definition at line 52 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_CAN   0

board has CAN as IRDA

Definition at line 73 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_ETHERNET   0

board has ETHERNET

Definition at line 69 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_I2C   0

Definition at line 82 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_I2C_PCA9532   0

Definition at line 83 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_MMC   0

Definition at line 80 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_SD   0

Definition at line 79 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_SDRAM   0

board has SDRAM

Definition at line 67 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_SPI   0

Definition at line 85 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_SPI_TSC2046   0

Definition at line 86 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_UART0   1

board has UART0

Definition at line 70 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_UART1   0

board has UART1

Definition at line 71 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_UART2   0

board has UART3 as IRDA

Definition at line 72 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_USB   0

board has USB

Definition at line 74 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_USB_DEVICE   0

board has USB DEVICE on USB2

Definition at line 77 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_USB_HOST   0

board has USB HOST on USB1

Definition at line 75 of file bsp_board_generic.h.

#define BSP_BOARD_HAS_USB_OTG   0

board has OTG USB on USB2

Definition at line 76 of file bsp_board_generic.h.

#define CCLKCFG_Val   3

Definition at line 111 of file bsp_board_generic.h.

#define CLKSRCSEL_Val   CLKSRCSEL_XTAL

Definition at line 101 of file bsp_board_generic.h.

#define i_ARCH   ARM7

Definition at line 55 of file bsp_board_generic.h.

#define i_BOARD   GENERIC_BOARD

Definition at line 61 of file bsp_board_generic.h.

#define i_MCU_FAMILY   LPC2xxx

Definition at line 57 of file bsp_board_generic.h.

#define i_MCU_MODEL   2478

Definition at line 59 of file bsp_board_generic.h.

#define i_VENDOR   GENERIC_VERNDOR

Definition at line 63 of file bsp_board_generic.h.

#define i_VERSION   0x010100 /* version 1.1.0*/

Definition at line 65 of file bsp_board_generic.h.

#define LPC2xxx_CLOCK_SETUP   1

Definition at line 90 of file bsp_board_generic.h.

#define LPC2xxx_FLASH_SETUP   1

Enabling MAM.

Definition at line 145 of file bsp_board_generic.h.

#define LPC2xxx_PLL_SETUP   1

Definition at line 91 of file bsp_board_generic.h.

#define LPC2xxx_SDRAM_SETUP   BSP_BOARD_HAS_SDRAM

Definition at line 151 of file bsp_board_generic.h.

#define LPC2xxx_VIC_SETUP   1

Definition at line 89 of file bsp_board_generic.h.

#define MAMCR_Val   LPC_SC_MAM_MODE_FULL

Definition at line 148 of file bsp_board_generic.h.

#define PCLKSEL0_Val   (LPC2XXX_PCLK_V(WDT,4) | LPC2XXX_PCLK_V(TIMER0,1))

Definition at line 137 of file bsp_board_generic.h.

#define PCLKSEL1_Val   (LPC2XXX_PCLK_V(BAT_RAM,4) | LPC2XXX_PCLK_V(SYSCON,4))

Definition at line 141 of file bsp_board_generic.h.

#define PLL_MValue   11

Definition at line 109 of file bsp_board_generic.h.

#define PLL_NValue   0

Definition at line 110 of file bsp_board_generic.h.

#define port_spi_chip_disselect (   chip_num)

Definition at line 163 of file bsp_board_generic.h.

#define port_spi_chip_select (   chip_num)

Definition at line 160 of file bsp_board_generic.h.

#define port_spi_chip_select_init ( )

Definition at line 156 of file bsp_board_generic.h.

#define USBCLKCFG_Val   5

Definition at line 112 of file bsp_board_generic.h.

#define XTAL_HZ   12000000UL

Definition at line 93 of file bsp_board_generic.h.