mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Hall Effect sensor working in higher range
This commit is contained in:
@@ -16,6 +16,12 @@ public:
|
||||
static bool init();
|
||||
static int16_t read();
|
||||
private:
|
||||
static bool write_reg(const uint8_t reg,const uint8_t mask,const uint8_t val);
|
||||
static bool read_reg(const uint8_t reg, uint8_t *val);
|
||||
static bool start_periodic_measurement();
|
||||
static bool get_field_strength(int16_t *field);
|
||||
static bool set_high_range();
|
||||
|
||||
};
|
||||
|
||||
#endif /* CORE_DRIVERS_SI7210_H_ */
|
||||
|
||||
Reference in New Issue
Block a user