Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ms2100_arch.c File Reference

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

#include "peripherals/ms2100.h"
#include "mcu_periph/sys_time.h"
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/exti.h>
#include <libopencm3/cm3/nvic.h>
+ Include dependency graph for ms2100_arch.c:

Go to the source code of this file.

Functions

void ms2100_arch_init (void)
 
void ms2100_reset_cb (struct spi_transaction *t)
 Reset callback. More...
 
void exti9_5_isr (void)
 

Detailed Description

STM32 specific functions for the ms2100 magnetic sensor from PNI.

Definition in file ms2100_arch.c.

Function Documentation

void exti9_5_isr ( void  )

Definition at line 81 of file ms2100_arch.c.

References ms2100, MS2100_GOT_EOC, and Ms2100::status.

void ms2100_reset_cb ( struct spi_transaction t)

Reset callback.

called before spi transaction and after slave select

Definition at line 63 of file ms2100_arch.c.

References cpu_ticks_of_nsec(), Ms2100Reset, Ms2100Set, and T0TC.

+ Here is the call graph for this function: