Board specific configuration for the Phytec 'reel board'.
More...
Board specific configuration for the Phytec 'reel board'.
- Author
- Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Definition in file board.h.
#include "cpu.h"
Go to the source code of this file.
|
void | board_init (void) |
| Initialize board specific hardware.
|
|
|
#define | LED0_PIN GPIO_PIN(0, 11) |
|
#define | LED1_PIN GPIO_PIN(0, 12) |
|
#define | LED2_PIN GPIO_PIN(1, 9) |
|
#define | LED3_PIN GPIO_PIN(0, 13) |
|
#define | LED0_MASK (1 << 11) |
|
#define | LED1_MASK (1 << 12) |
|
#define | LED2_MASK (1 << 9) |
|
#define | LED3_MASK (1 << 13) |
|
#define | LED_MASK_P0 (LED0_MASK | LED1_MASK | LED3_MASK) |
|
#define | LED_MASK_P1 (LED2_MASK) |
|
#define | LED0_ON (NRF_P0->OUTCLR = LED0_MASK) |
|
#define | LED0_OFF (NRF_P0->OUTSET = LED0_MASK) |
|
#define | LED0_TOGGLE (NRF_P0->OUT ^= LED0_MASK) |
|
#define | LED1_ON (NRF_P0->OUTCLR = LED1_MASK) |
|
#define | LED1_OFF (NRF_P0->OUTSET = LED1_MASK) |
|
#define | LED1_TOGGLE (NRF_P0->OUT ^= LED1_MASK) |
|
#define | LED2_ON (NRF_P1->OUTCLR = LED2_MASK) |
|
#define | LED2_OFF (NRF_P1->OUTSET = LED2_MASK) |
|
#define | LED2_TOGGLE (NRF_P1->OUT ^= LED2_MASK) |
|
#define | LED3_ON (NRF_P0->OUTCLR = LED3_MASK) |
|
#define | LED3_OFF (NRF_P0->OUTSET = LED3_MASK) |
|
#define | LED3_TOGGLE (NRF_P0->OUT ^= LED3_MASK) |
|
|
#define | HDC1010_PARAM_I2C I2C_DEV(0) |
|
#define | HDC1010_PARAM_ADDR (0x43) |
|
#define | HDC1010_PIN_DRDY GPIO_PIN(0, 22) |
|
|
#define | MMA8X5X_PARAM_I2C I2C_DEV(0) |
|
#define | MMA8X5X_PARAM_ADDR (0x1d) |
|
#define | MMA8X5X_PARAM_PIN_INT1 GPIO_PIN(0, 24) |
|
#define | MMA8X5X_PARAM_PIN_INT2 GPIO_PIN(0, 25) |
|
|
#define | ADPS9960_PARAM_I2C I2C_DEV(0) |
|
#define | ADPS9960_PARAM_ADDR (0x29) |
|
#define | ADPS9960_PARAM_PIN_INT GPIO_PIN(0, 23) |
|