drv_hmc5883l.h
Go to the documentation of this file.
1 /*
2  drv_hmc5883l.h : Support for HMC5883L Magnetometer
3 
4  Adapted from https://github.com/multiwii/baseflight/blob/master/src/drv_hmc5883l.h
5 
6  This file is part of BreezySTM32.
7 
8  BreezySTM32 is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  BreezySTM32 is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with BreezySTM32. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 
23 #pragma once
24 
25 bool hmc5883lInit();
26 
27 // Asynchronous I2C method
29 void hmc5883l_async_read(float *magData);
30 
31 bool hmc5883l_present();
bool hmc5883lInit()
Definition: drv_hmc5883l.c:83
bool hmc5883l_present()
Definition: drv_hmc5883l.c:111
void hmc5883l_request_async_update()
Definition: drv_hmc5883l.c:118
void hmc5883l_async_read(float *magData)
Definition: drv_hmc5883l.c:138


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:46