Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ms2100_arch.h File Reference

LPC21xx specific functions for the ms2100 magnetic sensor from PNI. More...

#include "mcu_periph/spi.h"
+ Include dependency graph for ms2100_arch.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...
 

Detailed Description

LPC21xx specific functions for the ms2100 magnetic sensor from PNI.

Definition in file ms2100_arch.h.

Macro Definition Documentation

#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().

Function Documentation

void ms2100_reset_cb ( struct spi_transaction t)

Reset callback.

called before spi transaction and after slave select

Definition at line 69 of file ms2100_arch.c.