Board specific definitions for the Microchip SAM E54 Xplained Pro board.
More...
Board specific definitions for the Microchip SAM E54 Xplained Pro board.
- Author
- Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com
Definition in file board.h.
#include "cpu.h"
#include "at24mac.h"
Go to the source code of this file.
|
static int | _at24mac_get_eui48 (const void *arg, eui48_t *addr) |
| AT24Mac provides a EUI-48.
|
|
void | board_init (void) |
| Initialize board specific hardware, including clock, LEDs and std-IO.
|
|
|
#define | AT24MAC_PARAM_I2C_DEV I2C_DEV(1) |
|
#define | AT24MAC_PARAM_I2C_ADDR (0x5E) |
|
#define | AT24MAC_PARAM_TYPE AT24MAC4XX |
|
#define | AT24CXXX_PARAM_ADDR (0x56) |
|
|
#define | LED0_PIN GPIO_PIN(PC, 18) |
|
#define | LED_PORT PORT->Group[PC] |
|
#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 | XTIMER_WIDTH (32) |
|
#define | XTIMER_HZ (1000000ul) |
|