|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
STM32 specific functions for the ms2100 magnetic sensor from PNI. More...
Include dependency graph for ms2100_arch.h:
This graph shows which files directly or indirectly include this file: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. | |
| static void | Ms2100Set (void) |
| Here Set indicates the Ms2100 is in reset state, i.e. | |
| void | ms2100_reset_cb (struct spi_transaction *t) |
| Reset callback. | |
STM32 specific functions for the ms2100 magnetic sensor from PNI.
Definition in file ms2100_arch.h.
|
extern |
Reset callback.
called before spi transaction and after slave select
Definition at line 63 of file ms2100_arch.c.
References cpu_ticks_of_nsec(), foo, Ms2100Reset(), and Ms2100Set().
Referenced by ms2100_init().
Here is the call graph for this function:
Here is the caller graph for this function: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.
Referenced by ms2100_arch_init(), and ms2100_reset_cb().
Here is the caller graph for this function: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.
Referenced by ms2100_reset_cb().
Here is the caller graph for this function: