CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
bsp_board_olimex_lpc_2478_stk.h File Reference

Go to the source code of this file.

Macros

#define BSP_BOARD_HAS_CAN   1
#define BSP_BOARD_HAS_ETHERNET   1
#define BSP_BOARD_HAS_MMC   1
#define BSP_BOARD_HAS_PS2   1
#define BSP_BOARD_HAS_SD   1
#define BSP_BOARD_HAS_SDRAM   64 /*64MB SDRAM */
#define BSP_BOARD_HAS_SPI   1
#define BSP_BOARD_HAS_SPI_VS1002D   1
#define BSP_BOARD_HAS_UART0   1
#define BSP_BOARD_HAS_USB   1
#define BSP_BOARD_HAS_USB_DEVICE   1
 board has USB DEVICE on USB1
#define BSP_BOARD_HAS_USB_HOST   2
 board has USB HOST on USB2
#define BSP_BOARD_HAS_USB_OTG   0
 board has OTG USB on USB1
#define bsp_board_olimex_lpc_2478_stk   1
#define BSP_USB_MODE_DEFINED
#define CCLKCFG_Val   5
#define CLKSRCSEL_Val   CLKSRCSEL_XTAL
#define CS_VS1002D   1
#define i_ARCH   ARM7
#define i_BOARD   olimex_lpc_2478_stk
#define i_MCU_FAMILY   LPC2xxx
#define i_MCU_MODEL   2478
#define i_VENDOR   olimex
#define i_VERSION   0x01000B /* REVISION B version 1*/
#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 P0_20_TP_CS   /* no need to chip select*/
#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)   /* no need to chip select*/
#define port_spi_chip_select(chip_num)   /* no need to chip select*/
#define port_spi_chip_select_init()   /* no need to chip select*/
#define USBCLKCFG_Val   5
#define XTAL_HZ   12000000UL

Macro Definition Documentation

#define BSP_BOARD_HAS_CAN   1

Definition at line 54 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_ETHERNET   1

Definition at line 50 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_MMC   1

Definition at line 74 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_PS2   1

Definition at line 71 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_SD   1

Definition at line 73 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_SDRAM   64 /*64MB SDRAM */

Definition at line 67 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_SPI   1

Definition at line 69 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_SPI_VS1002D   1

Definition at line 70 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_UART0   1

Definition at line 51 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_USB   1

Definition at line 55 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_USB_DEVICE   1

board has USB DEVICE on USB1

Definition at line 58 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_USB_HOST   2

board has USB HOST on USB2

Definition at line 56 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_BOARD_HAS_USB_OTG   0

board has OTG USB on USB1

Definition at line 57 of file bsp_board_olimex_lpc_2478_stk.h.

#define bsp_board_olimex_lpc_2478_stk   1

Definition at line 35 of file bsp_board_olimex_lpc_2478_stk.h.

#define BSP_USB_MODE_DEFINED
Value:
(TYPE_DEVICE_PORT1_SOFT_CONNECT|TYPE_USB_PORT1_LED| \
TYPE_HOST_PORT2|TYPE_USB_PORT2_LED|TYPE_HOST_PORT2_POWER_EN)

Definition at line 61 of file bsp_board_olimex_lpc_2478_stk.h.

#define CCLKCFG_Val   5

Definition at line 98 of file bsp_board_olimex_lpc_2478_stk.h.

#define CLKSRCSEL_Val   CLKSRCSEL_XTAL

Definition at line 88 of file bsp_board_olimex_lpc_2478_stk.h.

#define CS_VS1002D   1

Definition at line 133 of file bsp_board_olimex_lpc_2478_stk.h.

#define i_ARCH   ARM7

Definition at line 38 of file bsp_board_olimex_lpc_2478_stk.h.

#define i_BOARD   olimex_lpc_2478_stk

Definition at line 44 of file bsp_board_olimex_lpc_2478_stk.h.

#define i_MCU_FAMILY   LPC2xxx

Definition at line 40 of file bsp_board_olimex_lpc_2478_stk.h.

#define i_MCU_MODEL   2478

Definition at line 42 of file bsp_board_olimex_lpc_2478_stk.h.

#define i_VENDOR   olimex

Definition at line 46 of file bsp_board_olimex_lpc_2478_stk.h.

#define i_VERSION   0x01000B /* REVISION B version 1*/

Definition at line 48 of file bsp_board_olimex_lpc_2478_stk.h.

#define LPC2xxx_CLOCK_SETUP   1

Definition at line 77 of file bsp_board_olimex_lpc_2478_stk.h.

#define LPC2xxx_FLASH_SETUP   1

Enabling MAM.

Definition at line 123 of file bsp_board_olimex_lpc_2478_stk.h.

#define LPC2xxx_PLL_SETUP   1

Definition at line 78 of file bsp_board_olimex_lpc_2478_stk.h.

#define LPC2xxx_SDRAM_SETUP   BSP_BOARD_HAS_SDRAM

Definition at line 129 of file bsp_board_olimex_lpc_2478_stk.h.

#define LPC2xxx_VIC_SETUP   1

Definition at line 76 of file bsp_board_olimex_lpc_2478_stk.h.

#define MAMCR_Val   LPC_SC_MAM_MODE_FULL

Definition at line 126 of file bsp_board_olimex_lpc_2478_stk.h.

#define P0_20_TP_CS   /* no need to chip select*/

Definition at line 135 of file bsp_board_olimex_lpc_2478_stk.h.

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

Definition at line 115 of file bsp_board_olimex_lpc_2478_stk.h.

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

Definition at line 119 of file bsp_board_olimex_lpc_2478_stk.h.

#define PLL_MValue   11

Definition at line 96 of file bsp_board_olimex_lpc_2478_stk.h.

#define PLL_NValue   0

Definition at line 97 of file bsp_board_olimex_lpc_2478_stk.h.

#define port_spi_chip_disselect (   chip_num)    /* no need to chip select*/

Definition at line 144 of file bsp_board_olimex_lpc_2478_stk.h.

#define port_spi_chip_select (   chip_num)    /* no need to chip select*/

Definition at line 141 of file bsp_board_olimex_lpc_2478_stk.h.

#define port_spi_chip_select_init ( )    /* no need to chip select*/

Definition at line 137 of file bsp_board_olimex_lpc_2478_stk.h.

#define USBCLKCFG_Val   5

Definition at line 99 of file bsp_board_olimex_lpc_2478_stk.h.

#define XTAL_HZ   12000000UL

Definition at line 80 of file bsp_board_olimex_lpc_2478_stk.h.