Contiki 3.x
tsl2563.h File Reference

Header file for the Re-Mote external TSL2563 Sensor Driver. More...

#include <stdio.h>
#include "lib/sensors.h"
#include "i2c.h"

Go to the source code of this file.

Macros

TSL2563 digital Light sensor
#define TSL2563_ADDR   0x39
 TSL2563 slave address.
 
#define TSL2563_READ   0xAC
 TSL2563 read register.
 
#define TSL2563_PWRN   0x03
 TSL2563 enable register.
 
#define TSL2563_PWROFF   0x00
 TSL2563 Power OFF.
 
#define K1T   0X0040
 Calibration values (hardcoded)
 
#define B1T   0x01f2
 
#define M1T   0x01b2
 
#define K2T   0x0080
 
#define B2T   0x0214
 
#define M2T   0x02d1
 
#define K3T   0x00c0
 
#define B3T   0x023f
 
#define M3T   0x037b
 
#define K4T   0x0100
 
#define B4T   0x0270
 
#define M4T   0x03fe
 
#define K5T   0x0138
 
#define B5T   0x016f
 
#define M5T   0x01fc
 
#define K6T   0x019a
 
#define B6T   0x00d2
 
#define M6T   0x00fb
 
#define K7T   0x029a
 
#define B7T   0x0018
 
#define M7T   0x0012
 
#define K8T   0x029a
 
#define B8T   0x0000
 
#define M8T   0x0000
 

Detailed Description

Header file for the Re-Mote external TSL2563 Sensor Driver.

Author
Antonio Lignan alina.nosp@m.n@zo.nosp@m.lerti.nosp@m.a.co.nosp@m.m Toni Lozano tloza.nosp@m.no@z.nosp@m.olert.nosp@m.ia.c.nosp@m.om

Definition in file tsl2563.h.