Board specific definitions for the VS203 board.
More...
#include "cpu.h"
#include "periph/gpio.h"
#include "cc2538_eui_primary.h"
Go to the source code of this file.
|
|
void | board_init (void) |
| | Initialize board specific hardware, including clock, LEDs and std-IO.
|
| |
◆ BTN0_MODE
| #define BTN0_MODE GPIO_IN_PU |
Pin mode
Definition at line 61 of file board.h.
◆ BTN0_PIN
| #define BTN0_PIN GPIO_PIN(PORT_C, 7) |
It's routed to PC7 pin
Definition at line 60 of file board.h.
◆ CCA_BACKDOOR_ACTIVE_LEVEL
| #define CCA_BACKDOOR_ACTIVE_LEVEL 0 |
Active when signal is low: 0
Definition at line 74 of file board.h.
◆ CCA_BACKDOOR_ENABLE
| #define CCA_BACKDOOR_ENABLE 1 |
On/Off the backdoor on boot
Definition at line 72 of file board.h.
◆ CCA_BACKDOOR_PORT_A_PIN
| #define CCA_BACKDOOR_PORT_A_PIN 7 |
Boot button is PORT_A, 7 (PA7)
Definition at line 73 of file board.h.
◆ CONFIG_CC2538_RF_OBS_SIG_0_PCX
| #define CONFIG_CC2538_RF_OBS_SIG_0_PCX 3 |
tx active to PC3, it controls the PA
Definition at line 100 of file board.h.
◆ CONFIG_CC2538_RF_OBS_SIG_1_PCX
| #define CONFIG_CC2538_RF_OBS_SIG_1_PCX 2 |
rx active to PC2, it controls the LNA
Definition at line 101 of file board.h.
◆ CONFIG_CC2538_RF_OBS_SIG_2_PCX
| #define CONFIG_CC2538_RF_OBS_SIG_2_PCX 0 |
rssi valid, routed to the on board red LED PC0
Definition at line 102 of file board.h.
◆ HGM_OFF
| #define HGM_OFF gpio_clear(HGM_PIN) |
HGM off handler
Definition at line 106 of file board.h.
◆ HGM_ON
HGM on handler
Definition at line 105 of file board.h.
◆ HGM_PIN
| #define HGM_PIN GPIO_PIN(PORT_D, 2) |
High Gain Mode (HGM) pin
Definition at line 104 of file board.h.
◆ HGM_TOGGLE
| #define HGM_TOGGLE gpio_toggle(HGM_PIN) |
HGM toggle handler
Definition at line 107 of file board.h.
◆ LED0_OFF
LED0 Off handler
Definition at line 37 of file board.h.
◆ LED0_ON
LED0 On handler
Definition at line 36 of file board.h.
◆ LED0_PIN
| #define LED0_PIN GPIO_PIN(PORT_B, 1) |
LED0 () routed to PB1 pin
Definition at line 35 of file board.h.
◆ LED0_TOGGLE
| #define LED0_TOGGLE gpio_toggle(LED0_PIN) |
LED0 Toggle handler
Definition at line 38 of file board.h.
◆ LED1_OFF
LED1 Off handler
Definition at line 42 of file board.h.
◆ LED1_ON
LED1 On handler
Definition at line 41 of file board.h.
◆ LED1_PIN
| #define LED1_PIN GPIO_PIN(PORT_B, 2) |
LED1 () routed to PB2 pin
Definition at line 40 of file board.h.
◆ LED1_TOGGLE
| #define LED1_TOGGLE gpio_toggle(LED1_PIN) |
LED1 Toggle handler
Definition at line 43 of file board.h.
◆ LED2_OFF
LED2 Off handler
Definition at line 47 of file board.h.
◆ LED2_ON
LED2 On handler
Definition at line 46 of file board.h.
◆ LED2_PIN
| #define LED2_PIN GPIO_PIN(PORT_B, 3) |
LED2 () routed to PB3 pin
Definition at line 45 of file board.h.
◆ LED2_TOGGLE
| #define LED2_TOGGLE gpio_toggle(LED2_PIN) |
LED2 Toggle handler
Definition at line 48 of file board.h.
◆ LED3_OFF
LED3 Off handler
Definition at line 52 of file board.h.
◆ LED3_ON
LED3 On handler
Definition at line 51 of file board.h.
◆ LED3_PIN
| #define LED3_PIN GPIO_PIN(PORT_B, 4) |
LED3 () routed to PB4 pin
Definition at line 50 of file board.h.
◆ LED3_TOGGLE
| #define LED3_TOGGLE gpio_toggle(LED3_PIN) |
LED3 Toggle handler
Definition at line 53 of file board.h.
◆ UPDATE_CCA
On/Off Customer Configuration Area should be updated
Definition at line 69 of file board.h.
◆ XTIMER_BACKOFF
| #define XTIMER_BACKOFF (50) |
◆ XTIMER_ISR_BACKOFF
| #define XTIMER_ISR_BACKOFF (40) |
◆ XTIMER_WIDTH
| #define XTIMER_WIDTH (16) |