Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
STM32 specific functions for the ms2100 magnetic sensor from PNI. More...
Go to the source code of this file.
Macros | |
#define | Ms2100HasEOC() (gpio_get(GPIOB, GPIO5) != 0) |
Functions | |
static void | Ms2100Reset (void) |
Here Reset indicates the Ms2100 is in normal state, i.e. More... | |
static void | Ms2100Set (void) |
Here Set indicates the Ms2100 is in reset state, i.e. More... | |
void | ms2100_reset_cb (struct spi_transaction *t) |
Reset callback. More... | |
STM32 specific functions for the ms2100 magnetic sensor from PNI.
Definition in file ms2100_arch.h.
Definition at line 52 of file ms2100_arch.h.
void ms2100_reset_cb | ( | struct spi_transaction * | t | ) |
Reset callback.
called before spi transaction and after slave select
Definition at line 71 of file ms2100_arch.c.
References cpu_ticks_of_nsec(), Ms2100Reset, Ms2100Set, and T0TC.
Referenced by ms2100_init().
|
inlinestatic |
Here Reset indicates the Ms2100 is in normal state, i.e.
the reset line is driven low (i.e. the GPIO is "reset")
Definition at line 38 of file ms2100_arch.h.
References GPIO13.
|
inlinestatic |
Here Set indicates the Ms2100 is in reset state, i.e.
the reset line is driven high (i.e. the GPIO is "set")
Definition at line 47 of file ms2100_arch.h.
References GPIO13.