Wirepas SDK
board.h File Reference

Detailed Description

Board definition for the Ublox b204 dongle

Definition in file board.h.

Go to the source code of this file.

Macros

#define BOARD_USART_TX_PIN   6
 
#define BOARD_USART_RX_PIN   5
 
#define BOARD_USART_CTS_PIN   7 /* For USE_USART_HW_FLOW_CONTROL */
 
#define BOARD_USART_RTS_PIN   31 /* For USE_USART_HW_FLOW_CONTROL */
 
#define BOARD_GPIO_PIN_LIST
 
#define BOARD_GPIO_ID_LED_G   0
 
#define BOARD_GPIO_ID_LED_R   1
 
#define BOARD_GPIO_ID_LED_B   2
 
#define BOARD_GPIO_ID_USART_WAKEUP   3
 
#define BOARD_LED_ID_LIST   {BOARD_GPIO_ID_LED_G, BOARD_GPIO_ID_LED_R, BOARD_GPIO_ID_LED_B}
 

Macro Definition Documentation

◆ BOARD_GPIO_ID_LED_B

#define BOARD_GPIO_ID_LED_B   2

Definition at line 36 of file board.h.

◆ BOARD_GPIO_ID_LED_G

#define BOARD_GPIO_ID_LED_G   0

Definition at line 34 of file board.h.

◆ BOARD_GPIO_ID_LED_R

#define BOARD_GPIO_ID_LED_R   1

Definition at line 35 of file board.h.

◆ BOARD_GPIO_ID_USART_WAKEUP

#define BOARD_GPIO_ID_USART_WAKEUP   3

Definition at line 37 of file board.h.

◆ BOARD_GPIO_PIN_LIST

#define BOARD_GPIO_PIN_LIST
Value:
{16, /* P0.16 */\
8, /* P0.08 */\
18, /* P0.18 */\
5} /* P0.05. required by the dual_mcu app. usart wakeup pin (= BOARD_USART_RX) */

Definition at line 28 of file board.h.

◆ BOARD_LED_ID_LIST

#define BOARD_LED_ID_LIST   {BOARD_GPIO_ID_LED_G, BOARD_GPIO_ID_LED_R, BOARD_GPIO_ID_LED_B}

Definition at line 40 of file board.h.

◆ BOARD_USART_CTS_PIN

#define BOARD_USART_CTS_PIN   7 /* For USE_USART_HW_FLOW_CONTROL */

Definition at line 19 of file board.h.

◆ BOARD_USART_RTS_PIN

#define BOARD_USART_RTS_PIN   31 /* For USE_USART_HW_FLOW_CONTROL */

Definition at line 20 of file board.h.

◆ BOARD_USART_RX_PIN

#define BOARD_USART_RX_PIN   5

Definition at line 18 of file board.h.

◆ BOARD_USART_TX_PIN

#define BOARD_USART_TX_PIN   6

Definition at line 17 of file board.h.