Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_crista.h File Reference
#include "subsystems/imu.h"
#include "generated/airframe.h"
#include "subsystems/imu/imu_crista_arch.h"
+ Include dependency graph for imu_crista.h:

Go to the source code of this file.

Macros

#define ADS8344_NB_CHANNELS   8
 
#define ImuEvent   imu_christa_event
 

Functions

void imu_crista_arch_init (void)
 
void imu_christa_event (void)
 

Variables

uint16_t ADS8344_values [ADS8344_NB_CHANNELS]
 
volatile bool_t ADS8344_available
 

Macro Definition Documentation

#define ADS8344_NB_CHANNELS   8

Definition at line 28 of file imu_crista.h.

#define ImuEvent   imu_christa_event

Definition at line 39 of file imu_crista.h.

Function Documentation

void imu_crista_arch_init ( void  )

Definition at line 58 of file imu_crista_arch.c.

References _VIC_ADDR, _VIC_CNTL, ADS8344_SS_IODIR, ADS8344_SS_PIN, ADS8344Unselect, channel, GPIOB, PINSEL1, SPI1_ISR(), SPI1_VIC_SLOT, SSP_CPHA, SSP_CPOL, SSP_DSS, SSP_FRF, SSP_LBM, SSP_MS, SSP_SCR, SSP_SOD, SSPCPSR, SSPCR0, SSPCR1, VIC_BIT, VIC_ENABLE, VIC_SPI1, VICIntEnable, and VICIntSelect.

Referenced by imu_impl_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

volatile bool_t ADS8344_available
uint16_t ADS8344_values[ADS8344_NB_CHANNELS]

Definition at line 39 of file ADS8344.c.

Referenced by dma1_c4_irq_handler(), imu_christa_event(), and read_values().