Go to the source code of this file.
Functions | |
void | BOARD_ConfigMPU (void) |
uint32_t | BOARD_DebugConsoleSrcFreq (void) |
void | BOARD_InitDebugConsole (void) |
#define BOARD_ACCEL_I2C_CLOCK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllClk) / 8 / (BOARD_ACCEL_I2C_CLOCK_SOURCE_DIVIDER + 1U)) |
#define BOARD_ARDUINO_I2C_IRQ (LPI2C1_IRQn) |
#define BOARD_ARDUINO_INT_IRQ (GPIO1_INT3_IRQn) |
#define BOARD_BT_UART_CLK_FREQ BOARD_DebugConsoleSrcFreq() |
#define BOARD_BT_UART_IRQ LPUART3_IRQn |
#define BOARD_BT_UART_IRQ_HANDLER LPUART3_IRQHandler |
#define BOARD_CAMERA_I2C_CLOCK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllClk) / 8 / (BOARD_CAMERA_I2C_CLOCK_SOURCE_DIVIDER + 1U)) |
#define BOARD_DEBUG_UART_CLK_FREQ BOARD_DebugConsoleSrcFreq() |
#define BOARD_DEBUG_UART_TYPE kSerialPort_Uart |
#define BOARD_ENET0_PHY_ADDRESS (0x02U) /* Phy address of enet port 0. */ |
#define BOARD_INITGT202SHIELD_IRQ_DIRECTION kGPIO_DigitalInput |
#define BOARD_INITGT202SHIELD_IRQ_GPIO GPIO1 |
#define BOARD_INITGT202SHIELD_IRQ_GPIO_PIN 19U |
#define BOARD_INITGT202SHIELD_IRQ_NAME "IRQ" |
#define BOARD_INITGT202SHIELD_IRQ_PIN_NAME GPIO1_19 |
#define BOARD_INITGT202SHIELD_IRQ_PORT 1U |
#define BOARD_INITGT202SHIELD_PWRON_DIRECTION kGPIO_DigitalOutput |
#define BOARD_INITGT202SHIELD_PWRON_GPIO GPIO1 |
#define BOARD_INITGT202SHIELD_PWRON_GPIO_PIN 3U |
#define BOARD_INITGT202SHIELD_PWRON_NAME "PWRON" |
#define BOARD_INITGT202SHIELD_PWRON_PIN_NAME GPIO1_3 |
#define BOARD_INITGT202SHIELD_PWRON_PORT 1U |
#define BOARD_INITSILEX2401SHIELD_IRQ_DIRECTION kGPIO_DigitalInput |
#define BOARD_INITSILEX2401SHIELD_IRQ_GPIO GPIO1 |
#define BOARD_INITSILEX2401SHIELD_IRQ_GPIO_PIN 11U |
#define BOARD_INITSILEX2401SHIELD_IRQ_NAME "IRQ" |
#define BOARD_INITSILEX2401SHIELD_IRQ_PIN_NAME GPIO1_11 |
#define BOARD_INITSILEX2401SHIELD_IRQ_PORT 1U |
#define BOARD_INITSILEX2401SHIELD_PWRON_DIRECTION kGPIO_DigitalOutput |
#define BOARD_INITSILEX2401SHIELD_PWRON_GPIO GPIO1 |
#define BOARD_INITSILEX2401SHIELD_PWRON_GPIO_PIN 9U |
#define BOARD_INITSILEX2401SHIELD_PWRON_NAME "PWRON" |
#define BOARD_INITSILEX2401SHIELD_PWRON_PIN_NAME GPIO1_9 |
#define BOARD_INITSILEX2401SHIELD_PWRON_PORT 1U |
#define BOARD_UART_IRQ LPUART1_IRQn |
#define BOARD_UART_IRQ_HANDLER LPUART1_IRQHandler |
#define BOARD_USER_BUTTON_GPIO GPIO5 |
#define BOARD_USER_BUTTON_IRQ GPIO5_Combined_0_15_IRQn |
#define BOARD_USER_BUTTON_IRQ_HANDLER GPIO5_Combined_0_15_IRQHandler |
#define USER_LED_INIT | ( | output | ) |
Enable target USER_LED
#define USER_LED_OFF | ( | ) | GPIO_PortSet(BOARD_USER_LED_GPIO, 1U << BOARD_USER_LED_GPIO_PIN) |
#define USER_LED_ON | ( | ) | GPIO_PortClear(BOARD_USER_LED_GPIO, 1U << BOARD_USER_LED_GPIO_PIN) |
#define USER_LED_TOGGLE | ( | ) |
Toggle target USER_LED