Support for the Atmel SAM R30 Xplained Pro board.
More...
Support for the Atmel SAM R30 Xplained Pro board.
|
file | board.h |
| Board specific definitions for the Atmel SAM R30 Xplained Pro board.
|
|
file | gpio_params.h |
| Board specific configuration of direct mapped GPIOs.
|
|
file | periph_conf.h |
| Peripheral MCU configuration for the Atmel SAM R30 Xplained Pro board.
|
|
|
enum | { RFCTL_ANTENNA_BOARD,
RFCTL_ANTENNA_EXT
} |
| Antenna configuration values.
|
|
|
void | board_init (void) |
| Initialize board specific hardware, including clock, LEDs and std-IO.
|
|
void | board_antenna_config (uint8_t antenna) |
| Set antenna switch.
|
|
|
#define | LED_PORT PORT->Group[0] |
|
#define | LED0_PIN GPIO_PIN(PA, 18) |
|
#define | LED0_MASK (1 << 18) |
|
#define | LED0_ON (LED_PORT.OUTCLR.reg = LED0_MASK) |
|
#define | LED0_OFF (LED_PORT.OUTSET.reg = LED0_MASK) |
|
#define | LED0_TOGGLE (LED_PORT.OUTTGL.reg = LED0_MASK) |
|
#define | LED1_PIN GPIO_PIN(PA, 19) |
|
#define | LED1_MASK (1 << 19) |
|
#define | LED1_ON (LED_PORT.OUTCLR.reg = LED1_MASK) |
|
#define | LED1_OFF (LED_PORT.OUTSET.reg = LED1_MASK) |
|
#define | LED1_TOGGLE (LED_PORT.OUTTGL.reg = LED1_MASK) |
|
|
#define | RFCTL_ANTENNA_DEFAULT RFCTL_ANTENNA_BOARD |
|