Driver for the AKM AK9752 IR sensor device.

Dependents:   AKDP-RevD7_014

Library for the AK9752 Ultra-Small IR Sensor with I2C Interface. Includes integrated temperature sensor (0 - 50C) and 16-bit ADC.

AK9752_reg.h

Committer:
tkstreet
Date:
2016-11-02
Revision:
4:2f4c8e641ce9
Parent:
0:51fa46d39a3e
Child:
5:a979c36482fc

File content as of revision 4:2f4c8e641ce9:

#ifndef __AK9752_REG_H__
#define __AK9752_REG_H__

#define AK9752_REG_ADDR_WIA1        0x00
#define AK9752_REG_ADDR_WIA2        0x01
#define AK9752_REG_ADDR_INFO1       0x02
#define AK9752_REG_ADDR_INFO2       0x03
#define AK9752_REG_ADDR_ST1         0x04
#define AK9752_REG_ADDR_INTCAUSE    0x05
#define AK9752_REG_ADDR_IRL         0x06
#define AK9752_REG_ADDR_IRH         0x07
#define AK9752_REG_ADDR_TMPL        0x08
#define AK9752_REG_ADDR_TMPH        0x09
#define AK9752_REG_ADDR_ST2         0x0A
#define AK9752_REG_ADDR_THIRHL      0x0B
#define AK9752_REG_ADDR_THIRHH      0x0C
#define AK9752_REG_ADDR_THIRLL      0x0D
#define AK9752_REG_ADDR_THIRLH      0x0E
#define AK9752_REG_ADDR_THTMPHL     0x0F
#define AK9752_REG_ADDR_THTMPHH     0x10
#define AK9752_REG_ADDR_THTMPLL     0x11
#define AK9752_REG_ADDR_THTMPLH     0x12
#define AK9752_REG_ADDR_INTEN       0x13
#define AK9752_REG_ADDR_CNTL1       0x14
#define AK9752_REG_ADDR_CNTL2       0x15
#define AK9752_REG_ADDR_CNTL3       0x16

#define AK9752_REG_VALUE_WIA1       0x48        // Decimal: 72
#define AK9752_REG_VALUE_WIA2       0x14        // Decimal: 20

#endif // __AK9752_REG_H__