JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
AK09916_REGISTERS.h
Go to the documentation of this file.
1#ifndef _AK09916_REGISTERS_H_
2#define _AK09916_REGISTERS_H_
3
4#include <stdint.h>
5
6typedef enum
7{
11 AK09916_REG_RSV2, // Reserved register. We start reading here when using the DMP. Secret sauce...
12 // discontinuity - containing another nine reserved registers? Secret sauce...
20 // discontinuity
22 // discontinuity
26
27typedef struct
28{
29 uint8_t WIA1;
31
32typedef struct
33{
34 uint8_t WIA2;
36
37typedef struct
38{
39 uint8_t DRDY : 1;
40 uint8_t DOR : 1;
41 uint8_t reserved_0 : 6;
43
44// typedef struct{
45
46// }AK09916_HXL_Reg_t;
47
48// typedef struct{
49
50// }AK09916_HXH_Reg_t;
51// typedef struct{
52
53// }AK09916_HYL_Reg_t;
54// typedef struct{
55
56// }AK09916_HYH_Reg_t;
57// typedef struct{
58
59// }AK09916_HZL_Reg_t;
60// typedef struct{
61
62// }AK09916_HZH_Reg_t;
63
64typedef struct
65{
66 uint8_t reserved_0 : 3;
67 uint8_t HOFL : 1;
68 uint8_t reserved_1 : 4;
70
71typedef struct
72{
73 uint8_t MODE : 5;
74 uint8_t reserved_0 : 3;
76
77typedef struct
78{
79 uint8_t SRST : 1;
80 uint8_t reserved_0 : 7;
82
83#endif // _AK09916_REGISTERS_H_
AK09916_Reg_Addr_e
@ AK09916_REG_RSV2
@ AK09916_REG_HZL
@ AK09916_REG_HXL
@ AK09916_REG_HXH
@ AK09916_REG_HYL
@ AK09916_REG_ST2
@ AK09916_REG_RSV1
@ AK09916_REG_ST1
@ AK09916_REG_HYH
@ AK09916_REG_CNTL3
@ AK09916_REG_WIA2
@ AK09916_REG_HZH
@ AK09916_REG_CNTL2
@ AK09916_REG_WIA1