LibDriver BMM150
Loading...
Searching...
No Matches
driver_bmm150_shot.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_BMM150_SHOT_H
38#define DRIVER_BMM150_SHOT_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define BMM150_SHOT_DEFAULT_REPXY 47
55#define BMM150_SHOT_DEFAULT_REPZ 83
56#define BMM150_SHOT_DEFAULT_DATA_RATE BMM150_DATA_RATE_10HZ
57
67uint8_t bmm150_shot_init(bmm150_interface_t interface, bmm150_address_t addr_pin);
68
76uint8_t bmm150_shot_deinit(void);
77
86uint8_t bmm150_shot_read(float ut[3]);
87
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif
driver bmm150 interface header file
bmm150_interface_t
bmm150 interface enumeration definition
bmm150_address_t
bmm150 address enumeration definition
uint8_t bmm150_shot_init(bmm150_interface_t interface, bmm150_address_t addr_pin)
shot example init
uint8_t bmm150_shot_read(float ut[3])
shot example read
uint8_t bmm150_shot_deinit(void)
shot example deinit