|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Maxim MAX11040 ADC hw interface. More...
#include "led.h"#include "mcu_periph/uart.h"#include "pprzlink/messages.h"#include "subsystems/datalink/downlink.h"#include "max11040.h"#include "adcs/max11040_hw.h"
Include dependency graph for max11040.c: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 hw interface.
Maxim MAX11040 ADC interface.
SS on P0.20 (SSEL) DRDY on P0.16 (EINT0)
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_hw_init(), MAX11040_RESET, and max11040_status.
Here is the call graph for this function:| 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 EXTINT_ISR(), max11040_init(), max11040_periodic(), and SSP_ISR().
| volatile uint32_t max11040_buf_out |
Definition at line 41 of file max11040.c.
Referenced by max11040_init(), and SSP_ISR().
| volatile uint8_t max11040_count |
Definition at line 39 of file max11040.c.
Referenced by EXTINT_ISR(), max11040_init(), and SSP_ISR().
| volatile uint8_t max11040_data |
Definition at line 36 of file max11040.c.
Referenced by max11040_init(), max11040_periodic(), and SSP_ISR().
| volatile uint8_t max11040_status |
Definition at line 35 of file max11040.c.
Referenced by EXTINT_ISR(), max11040_init(), and SSP_ISR().
| volatile uint32_t max11040_timestamp[MAX11040_BUF_SIZE] = {0} |
Definition at line 38 of file max11040.c.
Referenced by EXTINT_ISR().
| volatile int32_t max11040_values[MAX11040_BUF_SIZE][MAXM_NB_CHAN] = {{0}} |
Definition at line 37 of file max11040.c.
Referenced by max11040_periodic(), and SSP_ISR().