pba-01-d-kw2x: add sensors to board.h

This commit is contained in:
Cenk Gündoğan 2016-02-15 15:43:20 +01:00
parent a66ce9c3eb
commit ddb111dfa9

View File

@ -82,6 +82,54 @@ extern "C"
#define KW2XRF_SHARED_SPI 0 #define KW2XRF_SHARED_SPI 0
/** @}*/ /** @}*/
/**
* @name Define the interface for the HDC1000 humidity sensor
* @{
*/
#define HDC1000_I2C (I2C_0)
#define HDC1000_ADDR (0x43)
/** @} */
/**
* @name Define the interface for the MAG3110 magnetometer sensor
* @{
*/
#define MAG3110_I2C (I2C_0)
#define MAG3110_ADDR (0x0E)
/** @} */
/**
* @name Define the interface for the MMA8652 tri-axis accelerometer sensor
* @{
*/
#define MMA8652_I2C (I2C_0)
#define MMA8652_ADDR (0x1D)
/** @} */
/**
* @name Define the interface for the MPL3115A2 pressure sensor
* @{
*/
#define MPL3115A2_I2C (I2C_0)
#define MPL3115A2_ADDR (0x60)
/** @} */
/**
* @name Define the interface for the TCS3772 light sensor
* @{
*/
#define TCS37727_I2C (I2C_0)
#define TCS37727_ADDR (0x29)
/** @} */
/**
* @name Define the interface for the TMP006 IR-Termopile sensor
* @{
*/
#define TMP006_I2C (I2C_0)
#define TMP006_ADDR (0x41)
/** @} */
/** /**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO * @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/ */