Fork of AK9752. Removed getData() and put functionality in getSensorData(). Added comments and documentation to library.
Fork of AK9752 by
AK9752_reg.h@0:51fa46d39a3e, 2016-07-08 (annotated)
- Committer:
- masahikofukasawa
- Date:
- Fri Jul 08 22:27:55 2016 +0000
- Revision:
- 0:51fa46d39a3e
- Child:
- 1:2035a4a54d3f
- Child:
- 4:2f4c8e641ce9
New for RevD7. Release to Japan.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
masahikofukasawa | 0:51fa46d39a3e | 1 | #ifndef __AK9752_REG_H__ |
masahikofukasawa | 0:51fa46d39a3e | 2 | #define __AK9752_REG_H__ |
masahikofukasawa | 0:51fa46d39a3e | 3 | |
masahikofukasawa | 0:51fa46d39a3e | 4 | #define AK9752_REG_ADDR_WIA1 0x00 |
masahikofukasawa | 0:51fa46d39a3e | 5 | #define AK9752_REG_ADDR_WIA2 0x01 |
masahikofukasawa | 0:51fa46d39a3e | 6 | #define AK9752_REG_ADDR_INFO1 0x02 |
masahikofukasawa | 0:51fa46d39a3e | 7 | #define AK9752_REG_ADDR_INFO2 0x03 |
masahikofukasawa | 0:51fa46d39a3e | 8 | #define AK9752_REG_ADDR_ST1 0x04 |
masahikofukasawa | 0:51fa46d39a3e | 9 | #define AK9752_REG_ADDR_INTCAUSE 0x05 |
masahikofukasawa | 0:51fa46d39a3e | 10 | #define AK9752_REG_ADDR_IRL 0x06 |
masahikofukasawa | 0:51fa46d39a3e | 11 | #define AK9752_REG_ADDR_IRH 0x07 |
masahikofukasawa | 0:51fa46d39a3e | 12 | #define AK9752_REG_ADDR_TMPL 0x08 |
masahikofukasawa | 0:51fa46d39a3e | 13 | #define AK9752_REG_ADDR_TMPH 0x09 |
masahikofukasawa | 0:51fa46d39a3e | 14 | #define AK9752_REG_ADDR_ST2 0x0A |
masahikofukasawa | 0:51fa46d39a3e | 15 | #define AK9752_REG_ADDR_THIRHL 0x0B |
masahikofukasawa | 0:51fa46d39a3e | 16 | #define AK9752_REG_ADDR_THIRHH 0x0C |
masahikofukasawa | 0:51fa46d39a3e | 17 | #define AK9752_REG_ADDR_THIRLL 0x0D |
masahikofukasawa | 0:51fa46d39a3e | 18 | #define AK9752_REG_ADDR_THIRLH 0x0E |
masahikofukasawa | 0:51fa46d39a3e | 19 | #define AK9752_REG_ADDR_THTMPHL 0x0F |
masahikofukasawa | 0:51fa46d39a3e | 20 | #define AK9752_REG_ADDR_THTMPHH 0x10 |
masahikofukasawa | 0:51fa46d39a3e | 21 | #define AK9752_REG_ADDR_THTMPLL 0x11 |
masahikofukasawa | 0:51fa46d39a3e | 22 | #define AK9752_REG_ADDR_THTMPLH 0x12 |
masahikofukasawa | 0:51fa46d39a3e | 23 | #define AK9752_REG_ADDR_INTEN 0x13 |
masahikofukasawa | 0:51fa46d39a3e | 24 | #define AK9752_REG_ADDR_CNTL1 0x14 |
masahikofukasawa | 0:51fa46d39a3e | 25 | #define AK9752_REG_ADDR_CNTL2 0x15 |
masahikofukasawa | 0:51fa46d39a3e | 26 | #define AK9752_REG_ADDR_CNTL3 0x16 |
masahikofukasawa | 0:51fa46d39a3e | 27 | |
masahikofukasawa | 0:51fa46d39a3e | 28 | #define AK9752_REG_VALUE_WIA1 0x48 |
masahikofukasawa | 0:51fa46d39a3e | 29 | #define AK9752_REG_VALUE_WIA2 0x14 |
masahikofukasawa | 0:51fa46d39a3e | 30 | |
masahikofukasawa | 0:51fa46d39a3e | 31 | #endif // __AK9752_REG_H__ |