LibDriver HMC5883L
Loading...
Searching...
No Matches
driver_hmc5883l_shot.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_HMC5883L_SHOT_H
39#define DRIVER_HMC5883L_SHOT_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
51
55#define HMC5883L_SHOT_DEFAULT_AVERAGE_SAMPLE HMC5883L_AVERAGE_SAMPLE_8
56#define HMC5883L_SHOT_DEFAULT_DATA_OUTPUT_RATE HMC5883L_DATA_OUTPUT_RATE_15
57#define HMC5883L_SHOT_DEFAULT_MODE HMC5883L_MODE_NORMAL
58#define HMC5883L_SHOT_DEFAULT_GAIN HMC5883L_GAIN_820
59
67uint8_t hmc5883l_shot_init(void);
68
76uint8_t hmc5883l_shot_deinit(void);
77
86uint8_t hmc5883l_shot_read(float m_gauss[3]);
87
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif
driver hmc5883l interface header file
uint8_t hmc5883l_shot_init(void)
shot example init
uint8_t hmc5883l_shot_read(float m_gauss[3])
shot example read
uint8_t hmc5883l_shot_deinit(void)
shot example deinit