Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mag_hmc5843.h
Go to the documentation of this file.
1 /*
2  * This file is part of paparazzi.
3  *
4  * paparazzi is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2, or (at your option)
7  * any later version.
8  *
9  * paparazzi is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with paparazzi; see the file COPYING. If not, write to
16  * the Free Software Foundation, 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  *
19  */
20 
21 #ifndef HMC5843__H
22 #define HMC5843__H
23 
24 #include "std.h"
25 #include "mcu_periph/i2c.h"
26 
27 extern int32_t mag_x, mag_y, mag_z;
28 
29 extern void hmc5843_module_init(void);
30 extern void hmc5843_module_periodic(void);
31 extern void hmc5843_module_event(void);
32 
33 #endif // HMC5843__H
int32_t mag_z
Definition: mag_hmc5843.c:29
void hmc5843_module_event(void)
Definition: mag_hmc5843.c:49
void hmc5843_module_init(void)
Definition: mag_hmc5843.c:35
void hmc5843_module_periodic(void)
Definition: mag_hmc5843.c:40
signed long int32_t
Definition: types.h:19
int32_t mag_y
Definition: mag_hmc5843.c:29
int32_t mag_x
Definition: mag_hmc5843.c:29
Architecture independent I2C (Inter-Integrated Circuit Bus) API.