Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
LPC21xx specific functions for the ms2100 magnetic sensor from PNI. More...
#include "mcu_periph/spi.h"
Go to the source code of this file.
Macros | |
#define | Ms2100Reset() SetBit(MS2100_RESET_IOCLR,MS2100_RESET_PIN) |
#define | Ms2100Set() SetBit(MS2100_RESET_IOSET,MS2100_RESET_PIN) |
Functions | |
void | ms2100_reset_cb (struct spi_transaction *t) |
Reset callback. More... | |
LPC21xx specific functions for the ms2100 magnetic sensor from PNI.
Definition in file ms2100_arch.h.
#define Ms2100Reset | ( | void | ) | SetBit(MS2100_RESET_IOCLR,MS2100_RESET_PIN) |
Definition at line 34 of file ms2100_arch.h.
Referenced by ms2100_arch_init(), and ms2100_reset_cb().
#define Ms2100Set | ( | void | ) | SetBit(MS2100_RESET_IOSET,MS2100_RESET_PIN) |
Definition at line 35 of file ms2100_arch.h.
Referenced by ms2100_reset_cb().
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.