Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
max11040.h File Reference
#include "std.h"
+ Include dependency graph for max11040.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAXM_NB_CHAN   16
 
#define MAXM_NB_ADCS   ((MAXM_NB_CHAN+3)/4)
 
#define MAX11040_BUF_SIZE   320
 
#define MAX11040_RESET   0
 
#define MAX11040_CONF   1
 
#define MAX11040_INSTANT   2
 
#define MAX11040_RATE   3
 
#define MAX11040_DONE   4
 
#define MAX11040_DATA   5
 
#define MAX11040_DATA2   6
 
#define MAX11040_IDLE   0
 
#define MAX11040_DATA_AVAILABLE   1
 

Functions

void max11040_init (void)
 
void max11040_periodic (void)
 

Variables

volatile uint8_t max11040_status
 
volatile uint8_t max11040_data
 
volatile int32_t max11040_values [MAX11040_BUF_SIZE][MAXM_NB_CHAN]
 
volatile uint32_t max11040_timestamp [MAX11040_BUF_SIZE]
 
volatile uint8_t max11040_count
 
volatile uint32_t max11040_buf_in
 
volatile uint32_t max11040_buf_out
 

Macro Definition Documentation

◆ MAX11040_BUF_SIZE

#define MAX11040_BUF_SIZE   320

Definition at line 9 of file max11040.h.

◆ MAX11040_CONF

#define MAX11040_CONF   1

Definition at line 21 of file max11040.h.

◆ MAX11040_DATA

#define MAX11040_DATA   5

Definition at line 25 of file max11040.h.

◆ MAX11040_DATA2

#define MAX11040_DATA2   6

Definition at line 26 of file max11040.h.

◆ MAX11040_DATA_AVAILABLE

#define MAX11040_DATA_AVAILABLE   1

Definition at line 29 of file max11040.h.

◆ MAX11040_DONE

#define MAX11040_DONE   4

Definition at line 24 of file max11040.h.

◆ MAX11040_IDLE

#define MAX11040_IDLE   0

Definition at line 28 of file max11040.h.

◆ MAX11040_INSTANT

#define MAX11040_INSTANT   2

Definition at line 22 of file max11040.h.

◆ MAX11040_RATE

#define MAX11040_RATE   3

Definition at line 23 of file max11040.h.

◆ MAX11040_RESET

#define MAX11040_RESET   0

Definition at line 20 of file max11040.h.

◆ MAXM_NB_ADCS

#define MAXM_NB_ADCS   ((MAXM_NB_CHAN+3)/4)

Definition at line 8 of file max11040.h.

◆ MAXM_NB_CHAN

#define MAXM_NB_CHAN   16

Definition at line 7 of file max11040.h.

Function Documentation

◆ max11040_init()

void max11040_init ( void  )

◆ max11040_periodic()

void max11040_periodic ( void  )

Variable Documentation

◆ max11040_buf_in

volatile uint32_t max11040_buf_in
extern

Definition at line 40 of file max11040.c.

Referenced by max11040_init(), and max11040_periodic().

◆ max11040_buf_out

volatile uint32_t max11040_buf_out
extern

Definition at line 41 of file max11040.c.

Referenced by max11040_init().

◆ max11040_count

volatile uint8_t max11040_count
extern

Definition at line 39 of file max11040.c.

Referenced by max11040_init().

◆ max11040_data

volatile uint8_t max11040_data
extern

Definition at line 36 of file max11040.c.

Referenced by max11040_init(), and max11040_periodic().

◆ max11040_status

volatile uint8_t max11040_status
extern

Definition at line 35 of file max11040.c.

Referenced by max11040_init().

◆ max11040_timestamp

volatile uint32_t max11040_timestamp[MAX11040_BUF_SIZE]
extern

Definition at line 38 of file max11040.c.

◆ max11040_values

volatile int32_t max11040_values[MAX11040_BUF_SIZE][MAXM_NB_CHAN]
extern

Definition at line 37 of file max11040.c.

Referenced by max11040_periodic().