Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
ms2100_arch.h File Reference
#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

◆ Ms2100Reset

#define Ms2100Reset ( )    SetBit(MS2100_RESET_IOCLR,MS2100_RESET_PIN)

Definition at line 34 of file ms2100_arch.h.

◆ Ms2100Set

#define Ms2100Set ( )    SetBit(MS2100_RESET_IOSET,MS2100_RESET_PIN)

Definition at line 35 of file ms2100_arch.h.

Function Documentation

◆ 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.