EFR32 Blue Gecko 13 Software Documentation  efr32bg13-doc-5.1.2
BOARD module configuration

Detailed Description

BOARD module configuration macro definitions.

Macros

#define BOARD_BUTTON_INT_ENABLE   true
 
#define BOARD_BUTTON_INT_FLAG   0x04
 
#define BOARD_BUTTON_LEFT   0x01
 
#define BOARD_BUTTON_LEFT_PIN   14
 
#define BOARD_BUTTON_LEFT_PORT   gpioPortD
 
#define BOARD_BUTTON_MASK   0x03
 
#define BOARD_BUTTON_PORT   gpioPortD
 
#define BOARD_BUTTON_RIGHT   0x02
 
#define BOARD_BUTTON_RIGHT_PIN   15
 
#define BOARD_BUTTON_RIGHT_PORT   gpioPortD
 
#define BOARD_BUTTON_SHIFT   14
 
#define BOARD_FLASH_PIN_SPI_CLK   8
 
#define BOARD_FLASH_PIN_SPI_CS   4
 
#define BOARD_FLASH_PIN_SPI_MISO   7
 
#define BOARD_FLASH_PIN_SPI_MOSI   6
 
#define BOARD_FLASH_PORT_SPI   gpioPortC
 
#define BOARD_FLASH_PORT_SPI_CS   gpioPortA
 
#define BOARD_FLASH_USART   (USART1)
 
#define BOARD_PIC_DEVICE_ID   0x50584F49
 
#define BOARD_PIC_INT_WAKE_PIN   10
 
#define BOARD_PIC_INT_WAKE_PORT   gpioPortD
 
#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
 
#define BOARD_RGBLED_GREEN_PORT   gpioPortD
 
#define BOARD_RGBLED_RED_CCLOC   19
 
#define BOARD_RGBLED_RED_PIN   11
 
#define BOARD_RGBLED_RED_PORT   gpioPortD
 
#define BOARD_RGBLED_TIMER   (TIMER0)
 

Macro Definition Documentation

#define BOARD_BUTTON_INT_ENABLE   true

Pushbutton interrupt enable

Definition at line 80 of file board.h.

#define BOARD_BUTTON_INT_FLAG   0x04

Pushbutton interrupt flag value

Definition at line 79 of file board.h.

#define BOARD_BUTTON_LEFT   0x01

Left pushbutton value

Definition at line 72 of file board.h.

#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

Left pushbutton port

Definition at line 75 of file board.h.

Referenced by BOARD_init().

#define BOARD_BUTTON_MASK   0x03

Pushbutton mask

Definition at line 74 of file board.h.

Referenced by BOARD_pushButtonGetState().

#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   0x02

Right pushbutton value

Definition at line 73 of file board.h.

#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

Right pushbutton port

Definition at line 77 of file board.h.

Referenced by BOARD_init().

#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_CLK   8

NOR Flash CLK GPIO pin

Definition at line 87 of file board.h.

#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_PIN_SPI_MISO   7

NOR Flash MISO GPIO pin

Definition at line 86 of file board.h.

#define BOARD_FLASH_PIN_SPI_MOSI   6

NOR Flash MOSI GPIO pin

Definition at line 85 of file board.h.

#define BOARD_FLASH_PORT_SPI   gpioPortC

NOR Flash SPI bus GPIO port

Definition at line 83 of file board.h.

#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)

NOR Flash USART

Definition at line 82 of file board.h.

Referenced by BOARD_flashDeepPowerDown().

#define BOARD_PIC_DEVICE_ID   0x50584F49

PIC device ID

Definition at line 54 of file board.h.

Referenced by BOARD_init().

#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

RGB LED Blue CC location

Definition at line 68 of file board.h.

Referenced by BOARD_init().

#define BOARD_RGBLED_BLUE_PIN   13

RGB LED Blue pin

Definition at line 67 of file board.h.

Referenced by BOARD_init().

#define BOARD_RGBLED_BLUE_PORT   gpioPortD

RGB LED Blue port

Definition at line 66 of file board.h.

Referenced by BOARD_init().

#define BOARD_RGBLED_CMU_CLK   cmuClock_TIMER0

RGB LED PWM control clock source

Definition at line 59 of file board.h.

Referenced by BOARD_init().

#define BOARD_RGBLED_GREEN_CCLOC   19

RGB LED Green CC location

Definition at line 65 of file board.h.

Referenced by BOARD_init().

#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

RGB LED Green port

Definition at line 63 of file board.h.

Referenced by BOARD_init().

#define BOARD_RGBLED_RED_CCLOC   19

RGB LED Red CC location

Definition at line 62 of file board.h.

Referenced by BOARD_init().

#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)

RGB LED PWM control timer

Definition at line 58 of file board.h.

Referenced by BOARD_init().