Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Maxim MAX11040 ADC interface. More...
#include "led.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "modules/datalink/downlink.h"
#include "max11040.h"
#include "adcs/max11040_hw.h"
Go to the source code of this file.
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] = {{0}} |
volatile uint32_t | max11040_timestamp [MAX11040_BUF_SIZE] = {0} |
volatile uint8_t | max11040_count |
volatile uint32_t | max11040_buf_in |
volatile uint32_t | max11040_buf_out |
Maxim MAX11040 ADC interface.
Definition in file max11040.c.
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.
volatile uint32_t max11040_buf_in |
Definition at line 40 of file max11040.c.
Referenced by max11040_init(), and max11040_periodic().
volatile uint32_t max11040_buf_out |
Definition at line 41 of file max11040.c.
Referenced by max11040_init().
volatile uint8_t max11040_count |
Definition at line 39 of file max11040.c.
Referenced by max11040_init().
volatile uint8_t max11040_data |
Definition at line 36 of file max11040.c.
Referenced by max11040_init(), and max11040_periodic().
volatile uint8_t max11040_status |
Definition at line 35 of file max11040.c.
Referenced by max11040_init().
volatile uint32_t max11040_timestamp[MAX11040_BUF_SIZE] = {0} |
Definition at line 38 of file max11040.c.
volatile int32_t max11040_values[MAX11040_BUF_SIZE][MAXM_NB_CHAN] = {{0}} |
Definition at line 37 of file max11040.c.
Referenced by max11040_periodic().