Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
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 |
#define MAX11040_BUF_SIZE 320 |
Definition at line 9 of file max11040.h.
#define MAX11040_CONF 1 |
Definition at line 21 of file max11040.h.
#define MAX11040_DATA 5 |
Definition at line 25 of file max11040.h.
#define MAX11040_DATA2 6 |
Definition at line 26 of file max11040.h.
#define MAX11040_DATA_AVAILABLE 1 |
Definition at line 29 of file max11040.h.
#define MAX11040_DONE 4 |
Definition at line 24 of file max11040.h.
#define MAX11040_IDLE 0 |
Definition at line 28 of file max11040.h.
#define MAX11040_INSTANT 2 |
Definition at line 22 of file max11040.h.
#define MAX11040_RATE 3 |
Definition at line 23 of file max11040.h.
#define MAX11040_RESET 0 |
Definition at line 20 of file max11040.h.
#define MAXM_NB_ADCS ((MAXM_NB_CHAN+3)/4) |
Definition at line 8 of file max11040.h.
#define MAXM_NB_CHAN 16 |
Definition at line 7 of file max11040.h.
void max11040_init | ( | void | ) |
Definition at line 44 of file max11040.c.
References max11040_buf_in, max11040_buf_out, max11040_count, max11040_data, MAX11040_RESET, and max11040_status.
void max11040_periodic | ( | void | ) |
Definition at line 55 of file max11040.c.
References DefaultChannel, DefaultDevice, max11040_buf_in, max11040_data, MAX11040_DATA_AVAILABLE, MAX11040_IDLE, and max11040_values.
|
extern |
Definition at line 40 of file max11040.c.
Referenced by max11040_init(), and max11040_periodic().
|
extern |
Definition at line 41 of file max11040.c.
Referenced by max11040_init().
|
extern |
Definition at line 39 of file max11040.c.
Referenced by max11040_init().
|
extern |
Definition at line 36 of file max11040.c.
Referenced by max11040_init(), and max11040_periodic().
|
extern |
Definition at line 35 of file max11040.c.
Referenced by max11040_init().
|
extern |
Definition at line 38 of file max11040.c.
|
extern |
Definition at line 37 of file max11040.c.
Referenced by max11040_periodic().