Hall Effect sensor working in higher range

This commit is contained in:
Ben V. Brown
2020-10-31 15:45:36 +11:00
parent 1f4ed60838
commit a1a7eb9e59
4 changed files with 320 additions and 95 deletions

View File

@@ -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_ */