Wirepas SDK
board.h File Reference

Detailed Description

Board definition for a board composed of a Silabs starter kit and a brd4312a radio module

Definition in file board.h.

Go to the source code of this file.

Macros

#define BOARD_USART_ID   0
 
#define BOARD_USART_TX_PORT   GPIO_PORTA
 
#define BOARD_USART_TX_PIN   5
 
#define BOARD_USART_RX_PORT   GPIO_PORTA
 
#define BOARD_USART_RX_PIN   6
 
#define BOARD_GPIO_PIN_LIST
 
#define BOARD_GPIO_ID_LED0   0
 
#define BOARD_GPIO_ID_BUTTON0   1
 
#define BOARD_GPIO_ID_USART_WAKEUP   2
 
#define BOARD_GPIO_ID_VCOM_ENABLE   3
 
#define BOARD_LED_ID_LIST   {BOARD_GPIO_ID_LED0}
 
#define BOARD_LED_ACTIVE_LOW   true
 
#define BOARD_BUTTON_ID_LIST   {BOARD_GPIO_ID_BUTTON0}
 
#define BOARD_BUTTON_ACTIVE_LOW   true
 
#define BOARD_BUTTON_INTERNAL_PULL   false
 

Macro Definition Documentation

◆ BOARD_BUTTON_ACTIVE_LOW

#define BOARD_BUTTON_ACTIVE_LOW   true

Definition at line 46 of file board.h.

◆ BOARD_BUTTON_ID_LIST

#define BOARD_BUTTON_ID_LIST   {BOARD_GPIO_ID_BUTTON0}

Definition at line 43 of file board.h.

◆ BOARD_BUTTON_INTERNAL_PULL

#define BOARD_BUTTON_INTERNAL_PULL   false

Definition at line 49 of file board.h.

◆ BOARD_GPIO_ID_BUTTON0

#define BOARD_GPIO_ID_BUTTON0   1

Definition at line 32 of file board.h.

◆ BOARD_GPIO_ID_LED0

#define BOARD_GPIO_ID_LED0   0

Definition at line 31 of file board.h.

◆ BOARD_GPIO_ID_USART_WAKEUP

#define BOARD_GPIO_ID_USART_WAKEUP   2

Definition at line 33 of file board.h.

◆ BOARD_GPIO_ID_VCOM_ENABLE

#define BOARD_GPIO_ID_VCOM_ENABLE   3

Definition at line 34 of file board.h.

◆ BOARD_GPIO_PIN_LIST

#define BOARD_GPIO_PIN_LIST
Value:
{{GPIO_PORTB, 0}, /* PB00 */\
{GPIO_PORTB, 1}, /* PB01 */\
{GPIO_PORTA, 6}, /* PA06. required by the dual_mcu app. usart wakeup pin (= BOARD_USART_RX) */\
{GPIO_PORTB, 4}} /* PB04. usart vcom pin */

Definition at line 25 of file board.h.

◆ BOARD_LED_ACTIVE_LOW

#define BOARD_LED_ACTIVE_LOW   true

Definition at line 40 of file board.h.

◆ BOARD_LED_ID_LIST

#define BOARD_LED_ID_LIST   {BOARD_GPIO_ID_LED0}

Definition at line 37 of file board.h.

◆ BOARD_USART_ID

#define BOARD_USART_ID   0

Definition at line 18 of file board.h.

◆ BOARD_USART_RX_PIN

#define BOARD_USART_RX_PIN   6

Definition at line 22 of file board.h.

◆ BOARD_USART_RX_PORT

#define BOARD_USART_RX_PORT   GPIO_PORTA

Definition at line 21 of file board.h.

◆ BOARD_USART_TX_PIN

#define BOARD_USART_TX_PIN   5

Definition at line 20 of file board.h.

◆ BOARD_USART_TX_PORT

#define BOARD_USART_TX_PORT   GPIO_PORTA

Definition at line 19 of file board.h.