Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/sensors/mag_micromag_fw.h"
#include "modules/sensors/mag_micromag_fw_hw.h"
#include "led.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
Go to the source code of this file.
Functions | |
void | micromag_periodic (void) |
void | micromag_event (void) |
void | micromag_init (void) |
void | micromag_reset () |
void | micromag_read () |
Variables | |
volatile uint8_t | micromag_status |
volatile int16_t | micromag_values [MM_NB_AXIS] |
void micromag_event | ( | void | ) |
Definition at line 31 of file mag_micromag_fw.c.
References DefaultChannel, DefaultDevice, micromag_status, micromag_values, MM_DATA_AVAILABLE, and MM_IDLE.
void micromag_init | ( | void | ) |
Definition at line 47 of file mag_micromag_fw.c.
References micromag_hw_init(), micromag_status, micromag_values, MM_IDLE, and MM_NB_AXIS.
void micromag_periodic | ( | void | ) |
Definition at line 13 of file mag_micromag_fw.c.
References micromag_status, MM_GOT_EOC, MM_IDLE, MM_WAITING_EOC, MmReadRes, and MmSendReq.
void micromag_read | ( | ) |
Definition at line 64 of file mag_micromag_fw.c.
References micromag_status, MM_DATA_AVAILABLE, MM_GOT_EOC, MM_IDLE, MmReadRes, and MmSendReq.
void micromag_reset | ( | ) |
Definition at line 59 of file mag_micromag_fw.c.
References micromag_status, and MM_IDLE.
volatile uint8_t micromag_status |
Definition at line 9 of file mag_micromag_fw.c.
Referenced by EXTINT_ISR(), micromag_event(), micromag_init(), micromag_periodic(), micromag_read(), and micromag_reset().
volatile int16_t micromag_values[MM_NB_AXIS] |
Definition at line 10 of file mag_micromag_fw.c.
Referenced by micromag_event(), and micromag_init().