LPCOpen Platform for LPC18XX/43XX microcontrollers: C:/w/lpcopen_docs/software/lpc_core/lpc_board/boards_43xx/ngx_xplorer_4330/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 | Functions | Variables
board_sysinit.c File Reference
`#include "board.h"`

Go to the source code of this file.

## Data Structures
struct | CLK_BASE_STATES

## Functions
void | Board_SetupMuxing (void)
| Setup pin multiplexer per board schematics. 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 []

## 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 45 of file board_sysinit.c.

STATIC const PINMUX_GRP_T pinmuxing[]

Initial value:
= {
{0x1, 15,
(SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC3)},
{0x0, 0,
(SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC2)},
{0x1, 16,
(SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC7)},
{0x0, 1, (SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC6)},
{0x1, 19,
(SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC0)},
{0x1, 18, (SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC3)},
{0x1, 20, (SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC3)},
{0x1, 17,
(SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC3)},
{0x2, 0, (SCU_MODE_HIGHSPEEDSLEW_EN | SCU_MODE_INACT | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC7)},
{0x2, 11, (SCU_MODE_INBUFF_EN | SCU_MODE_PULLDOWN | SCU_MODE_FUNC0)},
{0x2, 12, (SCU_MODE_INBUFF_EN | SCU_MODE_PULLDOWN | SCU_MODE_FUNC0)},
{0x3, 0, (SCU_PINIO_FAST | SCU_MODE_FUNC2)},
{0x6, 0, (SCU_PINIO_FAST | SCU_MODE_FUNC4)},
{0x7, 2, (SCU_PINIO_FAST | SCU_MODE_FUNC2)},
{0x6, 2, (SCU_PINIO_FAST | SCU_MODE_FUNC3)},
{0x7, 1, (SCU_PINIO_FAST | SCU_MODE_FUNC2)},
{0x6, 1, (SCU_PINIO_FAST | SCU_MODE_FUNC3)},
}

Definition at line 68 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 59 of file board_sysinit.c.