Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces 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 71 of file ms2100_arch.c.