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.

Revision:
6:254b7e5820e7
Parent:
5:a979c36482fc
Parent:
3:2035a4a54d3f
Child:
10:1cb542a62421
--- a/AK9752_reg.h	Wed Nov 02 17:34:13 2016 +0000
+++ b/AK9752_reg.h	Wed Nov 02 17:41:22 2016 +0000
@@ -8,13 +8,13 @@
 #define AK9752_REG_ADDR_WIA2        0x01        // Product ID
 #define AK9752_REG_ADDR_INFO1       0x02        // AKM Internal Info
 #define AK9752_REG_ADDR_INFO2       0x03        // AKM Internal Info
-#define AK9752_REG_ADDR_ST1         0x04        // Data Register: D0=DRDY 
+#define AK9752_REG_ADDR_ST1         0x04        // Status1: D0=DRDY 
 #define AK9752_REG_ADDR_INTCAUSE    0x05        // Interrupt Cause: D4:D0=IRH,IRL,TMPH,TMPL,DR
 #define AK9752_REG_ADDR_IRL         0x06        // IR Data, Low Byte
 #define AK9752_REG_ADDR_IRH         0x07        // IR Data, High Byte
 #define AK9752_REG_ADDR_TMPL        0x08        // Temperature Data, Low Byte
 #define AK9752_REG_ADDR_TMPH        0x09        // Temperature Data, High Byte
-#define AK9752_REG_ADDR_ST2         0x0A        // Data Register: D0=DOR
+#define AK9752_REG_ADDR_ST2         0x0A        // Status2: D0=DOR
 #define AK9752_REG_ADDR_THIRHL      0x0B        // IR High Threshold, Low Byte
 #define AK9752_REG_ADDR_THIRHH      0x0C        // IR High Threshold, High Byte
 #define AK9752_REG_ADDR_THIRLL      0x0D        // IR Low Threshold, Low Byte