Paparazzi UAS
v7.0_unstable
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 63 of file ms2100_arch.c.
References cpu_ticks_of_nsec(), Ms2100Reset(), and Ms2100Set().
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.
Referenced by ms2100_arch_init(), and ms2100_reset_cb().
|
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.
Referenced by ms2100_reset_cb().