LPCOpen Platform for LPC18XX/43XX microcontrollers: C:/w/lpcopen_docs/software/lpc_core/lpc_board/boards_18xx/keil_mcb_1857/board_sysinit.c File Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Macros | Functions | Variables
board_sysinit.c File Reference
`#include "board.h"`

Go to the source code of this file.

## Data Structures
struct | CLK_BASE_STATES

## Macros
#define | CLK0_DELAY 7

## Functions
void | Board_SetupMuxing (void)
| Setup pin multiplexer per board schematics. More...
void | Board_SetupExtMemory (void)
| Setup external system memory. More...
void | Board_SetupClocking (void)
| Setup system clocking. More...
void | Board_SystemInit (void)
| Setup and initialize hardware prior to call to main() More...

## Variables
STATIC struct CLK_BASE_STATES | InitClkStates []
STATIC const PINMUX_GRP_T | spifipinmuxing []
STATIC const PINMUX_GRP_T | pinmuxing []
STATIC const PINMUX_GRP_T | pinclockmuxing []
STATIC const IP_EMC_DYN_CONFIG_T | MT48LC4M32_config
STATIC const IP_EMC_STATIC_CONFIG_T | S29GL64N90_config

## Macro Definition Documentation

#define CLK0_DELAY 7

Definition at line 288 of file board_sysinit.c.

## Variable Documentation

STATIC struct CLK_BASE_STATES InitClkStates[]

Initial value:
= {
{CLK_BASE_PHY_TX, CLKIN_ENET_TX, true, false},
{CLK_BASE_PHY_RX, CLKIN_ENET_TX, true, false},
{CLK_BASE_LCD, CLKIN_IDIVC, true, false},
{CLK_BASE_USB1, CLKIN_IDIVD, true, true}
}

Definition at line 46 of file board_sysinit.c.

STATIC const IP_EMC_DYN_CONFIG_T MT48LC4M32_config

Definition at line 291 of file board_sysinit.c.

STATIC const PINMUX_GRP_T pinclockmuxing[]

Initial value:
= {
{0, 0, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_FUNC0)},
{0, 1, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_FUNC0)},
{0, 2, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_FUNC0)},
{0, 3, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_FUNC0)},
}

Definition at line 280 of file board_sysinit.c.

STATIC const PINMUX_GRP_T pinmuxing[]

Definition at line 69 of file board_sysinit.c.

STATIC const IP_EMC_STATIC_CONFIG_T S29GL64N90_config

Initial value:
= {
0,
EMC_STATIC_CONFIG_MEM_WIDTH_32 |
EMC_STATIC_CONFIG_CS_POL_ACTIVE_LOW |
EMC_STATIC_CONFIG_BLS_HIGH ,
EMC_NANOSECOND(0),
EMC_NANOSECOND(65),
EMC_NANOSECOND(90),
EMC_NANOSECOND(90),
EMC_NANOSECOND(35),
}

Definition at line 329 of file board_sysinit.c.

STATIC const PINMUX_GRP_T spifipinmuxing[]

Initial value:
= {
{0x3, 3, (SCU_PINIO_FAST | SCU_MODE_FUNC3)},
{0x3, 4, (SCU_PINIO_FAST | SCU_MODE_FUNC3)},
{0x3, 5, (SCU_PINIO_FAST | SCU_MODE_FUNC3)},
{0x3, 6, (SCU_PINIO_FAST | SCU_MODE_FUNC3)},
{0x3, 7, (SCU_PINIO_FAST | SCU_MODE_FUNC3)},
{0x3, 8, (SCU_PINIO_FAST | SCU_MODE_FUNC3)}
}

Definition at line 60 of file board_sysinit.c.