Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
max11040.c File Reference

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"
+ 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
 

Detailed Description

Maxim MAX11040 ADC interface.

Definition in file max11040.c.

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

Definition at line 40 of file max11040.c.

Referenced by max11040_init(), and max11040_periodic().

◆ max11040_buf_out

volatile uint32_t max11040_buf_out

Definition at line 41 of file max11040.c.

Referenced by max11040_init().

◆ max11040_count

volatile uint8_t max11040_count

Definition at line 39 of file max11040.c.

Referenced by max11040_init().

◆ max11040_data

volatile uint8_t max11040_data

Definition at line 36 of file max11040.c.

Referenced by max11040_init(), and max11040_periodic().

◆ max11040_status

volatile uint8_t max11040_status

Definition at line 35 of file max11040.c.

Referenced by max11040_init().

◆ max11040_timestamp

volatile uint32_t max11040_timestamp[MAX11040_BUF_SIZE] = {0}

Definition at line 38 of file max11040.c.

◆ max11040_values

volatile int32_t max11040_values[MAX11040_BUF_SIZE][MAXM_NB_CHAN] = {{0}}

Definition at line 37 of file max11040.c.

Referenced by max11040_periodic().