Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
max1168_arch.c File Reference
#include "peripherals/max1168.h"
#include <stm32/rcc.h>
#include <stm32/spi.h>
#include <stm32/exti.h>
#include <stm32/misc.h>
#include <stm32/dma.h>
+ Include dependency graph for max1168_arch.c:

Go to the source code of this file.

Macros

#define __DRDY_PORT(dev, _x)   _x##dev
 
#define _DRDY_PORT(dev, _x)   __DRDY_PORT(dev, _x)
 
#define DRDY_PORT(_x)   _DRDY_PORT(MAX_1168_DRDY_PORT, _x)
 
#define __DRDY_PORT_SOURCE(dev, _x)   _x##dev
 
#define _DRDY_PORT_SOURCE(dev, _x)   __DRDY_PORT_SOURCE(dev, _x)
 
#define DRDY_PORT_SOURCE(_x)   _DRDY_PORT_SOURCE(MAX_1168_DRDY_PORT_SOURCE, _x)
 

Functions

void exti2_irq_handler (void)
 
void max1168_arch_init (void)
 
void max1168_read (void)
 

Macro Definition Documentation

#define __DRDY_PORT (   dev,
  _x 
)    _x##dev

Definition at line 33 of file max1168_arch.c.

#define __DRDY_PORT_SOURCE (   dev,
  _x 
)    _x##dev

Definition at line 37 of file max1168_arch.c.

#define _DRDY_PORT (   dev,
  _x 
)    __DRDY_PORT(dev, _x)

Definition at line 34 of file max1168_arch.c.

#define _DRDY_PORT_SOURCE (   dev,
  _x 
)    __DRDY_PORT_SOURCE(dev, _x)

Definition at line 38 of file max1168_arch.c.

#define DRDY_PORT (   _x)    _DRDY_PORT(MAX_1168_DRDY_PORT, _x)

Definition at line 35 of file max1168_arch.c.

Referenced by max1168_arch_init().

#define DRDY_PORT_SOURCE (   _x)    _DRDY_PORT_SOURCE(MAX_1168_DRDY_PORT_SOURCE, _x)

Definition at line 39 of file max1168_arch.c.

Referenced by max1168_arch_init().

Function Documentation

void exti2_irq_handler ( void  )

Definition at line 107 of file max1168_arch.c.

References __attribute__(), dma1_c4_irq_handler(), foo, MAX1168_NB_CHAN, max1168_status, max1168_values, Max1168OnDmaIrq, RESET, and STA_MAX1168_READING_RES.

+ Here is the call graph for this function:

void max1168_arch_init ( void  )

Definition at line 43 of file max1168_arch.c.

References DRDY_PORT, DRDY_PORT_SOURCE, and Max1168Unselect.