From c4d908b66be9af19774aa4bb1124296a5feaf4b7 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 7 Oct 2014 11:47:51 +0200 Subject: [PATCH] board/iot-lab_M3: added ISL29020 interface defs --- boards/iot-lab_M3/include/board.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/boards/iot-lab_M3/include/board.h b/boards/iot-lab_M3/include/board.h index 15cf1f806..9a42c811d 100644 --- a/boards/iot-lab_M3/include/board.h +++ b/boards/iot-lab_M3/include/board.h @@ -30,7 +30,7 @@ #include "periph_conf.h" /** - * Define the nominal CPU core clock in this board + * @name Define the nominal CPU core clock in this board */ #define F_CPU CLOCK_CORECLOCK @@ -44,9 +44,11 @@ /** @} */ /** - * Assign the hardware timer + * @name Assign the hardware timer + * @{ */ #define HW_TIMER TIMER_0 +/** @} */ /** * @name Define the interface to the AT86RF231 radio @@ -59,6 +61,14 @@ #define AT86RF231_SLEEP GPIO_14 /** @} */ +/** + * @name Define the interface to the ISL29020 light sensor + * @{ + */ +#define ISL29020_I2C I2C_0 +#define ISL29020_ADDR 0x44 +/** @} */ + /** * @name LED pin definitions * @{