Driver for the AKM AK9752 IR sensor device.
Library for the AK9752 Ultra-Small IR Sensor with I2C Interface. Includes integrated temperature sensor (0 - 50C) and 16-bit ADC.
Diff: AK9752_reg.h
- Revision:
- 0:51fa46d39a3e
- Child:
- 3:2035a4a54d3f
- Child:
- 4:2f4c8e641ce9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AK9752_reg.h Fri Jul 08 22:27:55 2016 +0000 @@ -0,0 +1,31 @@ +#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 +#define AK9752_REG_VALUE_WIA2 0x14 + +#endif // __AK9752_REG_H__ \ No newline at end of file