EFM32 Pearl Gecko 12 Software Documentation
efm32pg12-doc-5.1.2
|
BOARD module configuration macro definitions.
#define BOARD_BUTTON_INT_ENABLE true |
#define BOARD_BUTTON_INT_FLAG 0x04 |
#define BOARD_BUTTON_LEFT_PIN 14 |
Left pushbutton pin
Definition at line 76 of file board.h.
Referenced by BOARD_init(), BOARD_pushButtonEnableIRQ(), and UTIL_shutdown().
#define BOARD_BUTTON_LEFT_PORT gpioPortD |
#define BOARD_BUTTON_MASK 0x03 |
#define BOARD_BUTTON_PORT gpioPortD |
Pushbutton port
Definition at line 70 of file board.h.
Referenced by BOARD_pushButtonEnableIRQ(), BOARD_pushButtonGetState(), and UTIL_shutdown().
#define BOARD_BUTTON_RIGHT_PIN 15 |
Right pushbutton pin
Definition at line 78 of file board.h.
Referenced by BOARD_init(), and BOARD_pushButtonEnableIRQ().
#define BOARD_BUTTON_RIGHT_PORT gpioPortD |
#define BOARD_BUTTON_SHIFT 14 |
Pushbutton shift value
Definition at line 71 of file board.h.
Referenced by BOARD_pushButtonGetState().
#define BOARD_FLASH_PIN_SPI_CS 4 |
NOR Flash CS GPIO pin
Definition at line 88 of file board.h.
Referenced by BOARD_flashDeepPowerDown().
#define BOARD_FLASH_PORT_SPI gpioPortC |
#define BOARD_FLASH_PORT_SPI_CS gpioPortA |
NOR Flash SPI bus CS GPIO port
Definition at line 84 of file board.h.
Referenced by BOARD_flashDeepPowerDown().
#define BOARD_FLASH_USART (USART1) |
#define BOARD_PIC_DEVICE_ID 0x50584F49 |
#define BOARD_PIC_INT_WAKE_PIN 10 |
PIC INT/Wakeup pin
Definition at line 56 of file board.h.
Referenced by BOARD_init(), BOARD_picGetFwRevision(), IMU_config(), and IMU_isDataReadyFlag().
#define BOARD_PIC_INT_WAKE_PORT gpioPortD |
PIC INT/Wakeup port
Definition at line 55 of file board.h.
Referenced by BOARD_init(), BOARD_picGetFwRevision(), and IMU_isDataReadyFlag().
#define BOARD_RGBLED_BLUE_CCLOC 19 |
#define BOARD_RGBLED_BLUE_PIN 13 |
#define BOARD_RGBLED_BLUE_PORT gpioPortD |
#define BOARD_RGBLED_CMU_CLK cmuClock_TIMER0 |
#define BOARD_RGBLED_GREEN_CCLOC 19 |
#define BOARD_RGBLED_GREEN_PIN 12 |
RGB LED Green pin
Definition at line 64 of file board.h.
Referenced by BOARD_init(), and BOARD_ledSet().
#define BOARD_RGBLED_GREEN_PORT gpioPortD |
#define BOARD_RGBLED_RED_CCLOC 19 |
#define BOARD_RGBLED_RED_PIN 11 |
RGB LED Red pin
Definition at line 61 of file board.h.
Referenced by BOARD_init(), and BOARD_ledSet().
#define BOARD_RGBLED_RED_PORT gpioPortD |
RGB LED Red port
Definition at line 60 of file board.h.
Referenced by BOARD_init(), and BOARD_ledSet().
#define BOARD_RGBLED_TIMER (TIMER0) |