![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Data Structures | |
| struct | PINMUX_GRP_T |
Modules | |
| BOARD: NXP LPC1347 Xpresso board build options | |
| #define BUTTONS_BUTTON1_GPIO_BIT_NUM 16 |
Definition at line 43 of file board_nxp_xpresso_1347.c.
| #define BUTTONS_BUTTON1_GPIO_PORT_NUM 0 |
Definition at line 42 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_DOWN_GPIO_BIT_NUM 20 |
Definition at line 48 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_DOWN_GPIO_PORT_NUM 1 |
Definition at line 47 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_LEFT_GPIO_BIT_NUM 23 |
Definition at line 50 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_LEFT_GPIO_PORT_NUM 1 |
Definition at line 49 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_PRESS_GPIO_BIT_NUM 19 |
Definition at line 54 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_PRESS_GPIO_PORT_NUM 1 |
Definition at line 53 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_RIGHT_GPIO_BIT_NUM 21 |
Definition at line 52 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_RIGHT_GPIO_PORT_NUM 1 |
Definition at line 51 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_UP_GPIO_BIT_NUM 22 |
Definition at line 46 of file board_nxp_xpresso_1347.c.
| #define JOYSTICK_UP_GPIO_PORT_NUM 1 |
Definition at line 45 of file board_nxp_xpresso_1347.c.
| void Board_ADC_Init | ( | void | ) |
Initialize pin muxing for ADC channel 0.
Sets up board specific ADC interface.
Definition at line 182 of file board_nxp_xpresso_1347.c.
| void Board_Buttons_Init | ( | void | ) |
Initialize buttons on the board.
Initializes board specific buttons.
Initialize button(s) interface on board.
Definition at line 188 of file board_nxp_xpresso_1347.c.
| void Board_Debug_Init | ( | void | ) |
Initializes board UART for output, required for printf redirection.
Definition at line 109 of file board_nxp_xpresso_1347.c.
| void Board_Init | ( | void | ) |
Set up and initialize all required blocks and functions related to the board hardware.
Definition at line 153 of file board_nxp_xpresso_1347.c.
| void Board_Joystick_Init | ( | void | ) |
Initialize Joystick.
Initializes board specific joystick.
Initialize joystick interface on board.
Definition at line 204 of file board_nxp_xpresso_1347.c.
|
static |
Definition at line 124 of file board_nxp_xpresso_1347.c.
| void Board_LED_Set | ( | uint8_t | LEDNumber, |
| bool | State | ||
| ) |
Sets the state of a board LED to on or off.
| LEDNumber | : LED number to set state for |
| State | : true for on, false for off |
Definition at line 131 of file board_nxp_xpresso_1347.c.
| bool Board_LED_Test | ( | uint8_t | LEDNumber | ) |
Returns the current state of a board LED.
| LEDNumber | : LED number to set state for |
Definition at line 138 of file board_nxp_xpresso_1347.c.
| void Board_SSP_Init | ( | LPC_SSP_T * | pSSP | ) |
Initialize pin muxing for SSP interface.
Sets up board specific SSP interface.
| pSSP | : Pointer to SSP interface to initialize |
Definition at line 169 of file board_nxp_xpresso_1347.c.
| void Board_UART_Init | ( | void | ) |
Initialize pin muxing for UART interface.
Definition at line 72 of file board_nxp_xpresso_1347.c.
| int Board_UARTGetChar | ( | void | ) |
Get a single character from the UART, required for scanf input.
Definition at line 88 of file board_nxp_xpresso_1347.c.
| void Board_UARTPutChar | ( | char | ch | ) |
Sends a single character on the UART, required for printf redirection.
| ch | : character to send |
Definition at line 78 of file board_nxp_xpresso_1347.c.
| void Board_UARTPutSTR | ( | char * | str | ) |
Prints a string to the UART.
| str | : Terminated string to output |
Definition at line 99 of file board_nxp_xpresso_1347.c.
| uint32_t Buttons_GetStatus | ( | void | ) |
Get button status.
Returns button(s) state on board.
Definition at line 194 of file board_nxp_xpresso_1347.c.
| uint8_t Joystick_GetStatus | ( | void | ) |
Get Joystick status.
Initialize joystick interface on board.
Returns joystick states on board.
Definition at line 219 of file board_nxp_xpresso_1347.c.
| void SystemCoreClockUpdate | ( | void | ) |
Update system core clock rate, should be called if the system has a clock rate change.
Definition at line 145 of file board_nxp_xpresso_1347.c.
| uint32_t SystemCoreClock |
Current system clock rate, mainly used for sysTick.
System Core rate (defined in LPC_BOARD library module)
Definition at line 61 of file board_nxp_xpresso_1347.c.