Board specific definitions for the OpenMote-B board.
More...
#include "cpu.h"
#include "periph/gpio.h"
#include "cc2538_eui_primary.h"
Go to the source code of this file.
◆ AT86RF215_PARAM_CS
#define AT86RF215_PARAM_CS GPIO_PIN(0, 3) /* A3 */ |
◆ AT86RF215_PARAM_INT
#define AT86RF215_PARAM_INT GPIO_PIN(3, 0) /* D0 */ |
◆ AT86RF215_PARAM_RESET
#define AT86RF215_PARAM_RESET GPIO_PIN(3, 1) /* D1 */ |
◆ AT86RF215_PARAM_SPI
#define AT86RF215_PARAM_SPI SPI_DEV(0) |
◆ BOOT_PIN
BSL_BOOT Pin.
Definition at line 154 of file board.h.
◆ BTN0_MODE
◆ BTN0_PIN
◆ CCA_BACKDOOR_ACTIVE_LEVEL
#define CCA_BACKDOOR_ACTIVE_LEVEL (0) |
Active low.
Definition at line 152 of file board.h.
◆ CCA_BACKDOOR_ENABLE
#define CCA_BACKDOOR_ENABLE (1) |
◆ CCA_BACKDOOR_PORT_A_PIN
#define CCA_BACKDOOR_PORT_A_PIN (6) |
BSL_BOOT Pin.
Definition at line 151 of file board.h.
◆ CONFIG_AT86RF215_RESET_PULSE_WIDTH_US
#define CONFIG_AT86RF215_RESET_PULSE_WIDTH_US (50000u) |
board requires unusually long reset
Definition at line 129 of file board.h.
◆ CONFIG_CC2538_RF_OBS_SIG_0_PCX
#define CONFIG_CC2538_RF_OBS_SIG_0_PCX 5 /* PC5 */ |
◆ CONFIG_CC2538_RF_OBS_SIG_1_PCX
#define CONFIG_CC2538_RF_OBS_SIG_1_PCX 6 /* PC6 */ |
◆ CONFIG_CC2538_RF_OBS_SIG_2_PCX
#define CONFIG_CC2538_RF_OBS_SIG_2_PCX 7 /* PC7 */ |
◆ LED0_MASK
#define LED0_MASK (1 << 4) |
◆ LED0_OFF
#define LED0_OFF (LED_PORT->DATA |= LED0_MASK) |
◆ LED0_ON
#define LED0_ON (LED_PORT->DATA &= ~LED0_MASK) |
◆ LED0_PIN
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED_PORT->DATA ^= LED0_MASK) |
◆ LED1_MASK
#define LED1_MASK (1 << 7) |
◆ LED1_OFF
#define LED1_OFF (LED_PORT->DATA |= LED1_MASK) |
◆ LED1_ON
#define LED1_ON (LED_PORT->DATA &= ~LED1_MASK) |
◆ LED1_PIN
◆ LED1_TOGGLE
#define LED1_TOGGLE (LED_PORT->DATA ^= LED1_MASK) |
◆ LED2_MASK
#define LED2_MASK (1 << 6) |
◆ LED2_OFF
#define LED2_OFF (LED_PORT->DATA |= LED2_MASK) |
◆ LED2_ON
#define LED2_ON (LED_PORT->DATA &= ~LED2_MASK) |
◆ LED2_PIN
◆ LED2_TOGGLE
#define LED2_TOGGLE (LED_PORT->DATA ^= LED2_MASK) |
◆ LED3_MASK
#define LED3_MASK (1 << 5) |
◆ LED3_OFF
#define LED3_OFF (LED_PORT->DATA |= LED3_MASK) |
◆ LED3_ON
#define LED3_ON (LED_PORT->DATA &= ~LED3_MASK) |
◆ LED3_PIN
◆ LED3_TOGGLE
#define LED3_TOGGLE (LED_PORT->DATA ^= LED3_MASK) |
◆ LED_PORT
◆ OPENWSN_DEBUGPIN_FRAME
#define OPENWSN_DEBUGPIN_FRAME GPIO_PIN(0, 7) /* A7 */ |
◆ OPENWSN_DEBUGPIN_FSM
#define OPENWSN_DEBUGPIN_FSM GPIO_PIN(1, 2) /* B2 */ |
◆ OPENWSN_DEBUGPIN_ISR
#define OPENWSN_DEBUGPIN_ISR GPIO_PIN(2, 3) /* C3 */ |
◆ OPENWSN_DEBUGPIN_RADIO
#define OPENWSN_DEBUGPIN_RADIO GPIO_PIN(1, 0) /* B0 */ |
◆ OPENWSN_DEBUGPIN_SLOT
#define OPENWSN_DEBUGPIN_SLOT GPIO_PIN(1, 3) /* B3 */ |
◆ OPENWSN_DEBUGPIN_TASK
#define OPENWSN_DEBUGPIN_TASK GPIO_PIN(1, 1) /* B1 */ |
◆ OPENWSN_LEDPIN_DEBUG
◆ OPENWSN_LEDPIN_ERROR
#define OPENWSN_LEDPIN_ERROR LED0_PIN |
◆ OPENWSN_LEDPIN_RADIO
#define OPENWSN_LEDPIN_RADIO LED3_PIN |
◆ OPENWSN_LEDPIN_SYNC
◆ RF24_SWITCH_AT86RF215_MASK
#define RF24_SWITCH_AT86RF215_MASK (1 << 3) |
◆ RF24_SWITCH_AT86RF215_OFF
#define RF24_SWITCH_AT86RF215_OFF (RF_SWITCH_PORT->DATA |= RF24_SWITCH_AT86RF215_MASK) |
◆ RF24_SWITCH_AT86RF215_ON
#define RF24_SWITCH_AT86RF215_ON (RF_SWITCH_PORT->DATA &= ~RF24_SWITCH_AT86RF215_MASK) |
◆ RF24_SWITCH_AT86RF215_PIN
#define RF24_SWITCH_AT86RF215_PIN GPIO_PIN(3, 3) |
PD3 – AT86RF215.
Definition at line 43 of file board.h.
◆ RF24_SWITCH_AT86RF215_TOGGLE
#define RF24_SWITCH_AT86RF215_TOGGLE (RF_SWITCH_PORT->DATA ^= RF24_SWITCH_AT86RF215_MASK) |
◆ RF24_SWITCH_CC2538_MASK
#define RF24_SWITCH_CC2538_MASK (1 << 4) |
◆ RF24_SWITCH_CC2538_OFF
#define RF24_SWITCH_CC2538_OFF (RF_SWITCH_PORT->DATA |= RF24_SWITCH_CC2538_MASK) |
◆ RF24_SWITCH_CC2538_ON
#define RF24_SWITCH_CC2538_ON (RF_SWITCH_PORT->DATA &= ~RF24_SWITCH_CC2538_MASK) |
◆ RF24_SWITCH_CC2538_PIN
#define RF24_SWITCH_CC2538_PIN GPIO_PIN(3, 4) |
PD4 – CC2538.
Definition at line 42 of file board.h.
◆ RF24_SWITCH_CC2538_TOGGLE
#define RF24_SWITCH_CC2538_TOGGLE (RF_SWITCH_PORT->DATA ^= RF24_SWITCH_CC2538_MASK) |
◆ RF_SWITCH_PORT
◆ UPDATE_CCA
◆ XTIMER_BACKOFF
#define XTIMER_BACKOFF (50) |
◆ XTIMER_ISR_BACKOFF
#define XTIMER_ISR_BACKOFF (40) |
◆ XTIMER_WIDTH
#define XTIMER_WIDTH (16) |