![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Go to the source code of this file.
Macros | |
| #define | BOARD_NXP_XPRESSO_1769 |
| #define | LEDS_LED1 0x01 |
| #define | LEDS_LED2 0x02 |
| #define | LEDS_LED3 0x04 |
| #define | LEDS_LED4 0x08 |
| #define | LEDS_NO_LEDS 0x00 |
| #define | BUTTONS_BUTTON1 0x01 |
| #define | NO_BUTTON_PRESSED 0x00 |
| #define | JOY_UP 0x01 |
| #define | JOY_DOWN 0x02 |
| #define | JOY_LEFT 0x04 |
| #define | JOY_RIGHT 0x08 |
| #define | JOY_PRESS 0x10 |
| #define | MCB_17XX_AUDIO_MIC_SELECT 0x00 |
| #define | MCB_17XX_AUDIO_LINE_IN_SELECT 0x00 |
Functions | |
| void | Board_UART_Init (LPC_USART_T *pUART) |
| Initialize pin muxing for a UART. | |
| void | Board_ENET_GetMacADDR (uint8_t *mcaddr) |
| Returns the MAC address assigned to this board. | |
| void | Board_Audio_Init (uint8_t audio_in_sel) |
| Sets up board audio output. | |
| void | Board_SSP_Init (LPC_SSP_T *pSSP) |
| Initialize pin muxing for SSP interface. | |
| void | Board_SPI_Init (bool isMaster) |
| Initialize pin muxing for SPI interface. | |
| void | Board_SPI_AssertSSEL (void) |
| Assert SSEL pin. | |
| void | Board_SPI_DeassertSSEL (void) |
| De-assert SSEL pin. | |
| void | Board_I2C_Init (I2C_ID_T id) |
| Sets up board specific I2C interface. | |
| STATIC INLINE void | Board_I2C_EnableFastPlus (I2C_ID_T id) |
| Sets up I2C Fast Plus mode. | |
| STATIC INLINE void | Board_I2C_DisableFastPlus (I2C_ID_T id) |
| Disables I2C Fast plus mode and enable normal mode. | |
| void | Board_Buttons_Init (void) |
| Initialize buttons on the board. | |
| uint32_t | Buttons_GetStatus (void) |
| Get button status. | |
| void | Board_Joystick_Init (void) |
| Initialize Joystick. | |
| uint8_t | Joystick_GetStatus (void) |
| Get Joystick status. | |
| void | Serial_CreateStream (void *Stream) |
| Create Serial Stream. | |