Support for the HamiltonIoT Hamilton board.
More...
Support for the HamiltonIoT Hamilton board.
Board specific definitions for the Hamilton board
- Author
- Michael Andersen m.and.nosp@m.erse.nosp@m.n@cs..nosp@m.berk.nosp@m.eley..nosp@m.edu
-
Hyung-Sin Kim hs.ki.nosp@m.m@cs.nosp@m..berk.nosp@m.eley.nosp@m..edu
Definition in file board.h.
#include "cpu.h"
#include "periph_conf.h"
#include "periph_cpu.h"
#include "periph/gpio.h"
Go to the source code of this file.
|
#define | XTIMER_DEV TIMER_DEV(1) |
|
#define | XTIMER_CHAN (0) |
|
|
#define | LED0_PIN GPIO_PIN(0, 19) |
|
#define | LED0_PORT PORT->Group[0] |
|
#define | LED0_MASK (1 << 19) |
|
#define | LED0_ON (LED0_PORT.OUTCLR.reg = LED0_MASK) |
|
#define | LED0_OFF (LED0_PORT.OUTSET.reg = LED0_MASK) |
|
#define | LED0_TOGGLE (LED0_PORT.OUTTGL.reg = LED0_MASK) |
|
|
Note that another fxos8700 operation option, CONFIG_FXOS8700_USE_ACC_RAW_VALUES, need to be set according to the application purposes
|
#define | FXOS8700_PARAM_I2C I2C_DEV(0) |
|
#define | FXOS8700_PARAM_ADDR (0x1E) |
|
#define | FXOS8700_PARAM_RENEW_INTERVAL (1000000ul) |
|
|
#define | HDC1000_PARAM_I2C I2C_DEV(0) |
|
#define | HDC1000_PARAM_ADDR (0x40) |
|
#define | HDC1000_PARAM_RES HDC1000_14BIT |
|
#define | HDC1000_PARAM_RENEW_INTERVAL (1000000ul) |
|
|
#define | PIR_PARAM_GPIO GPIO_PIN(PA, 6) |
|
#define | PIR_PARAM_ACTIVE_HIGH (1) |
|
|
Note that two other tmp006 operation options, TMP00X_USE_LOW_POWER and TMP00X_USE_RAW_VALUES, need to be set according to the application purpose
|
#define | TMP00X_PARAM_I2C I2C_DEV(0) |
|
#define | TMP00X_PARAM_ADDR (0x44) |
|
#define | TMP00X_PARAM_RATE TMP00X_CONFIG_CR_AS2 |
|