7 #define MAXM_NB_CHAN 16
8 #define MAXM_NB_ADCS ((MAXM_NB_CHAN+3)/4)
9 #define MAX11040_BUF_SIZE 320
20 #define MAX11040_RESET 0
21 #define MAX11040_CONF 1
22 #define MAX11040_INSTANT 2
23 #define MAX11040_RATE 3
24 #define MAX11040_DONE 4
25 #define MAX11040_DATA 5
26 #define MAX11040_DATA2 6
28 #define MAX11040_IDLE 0
29 #define MAX11040_DATA_AVAILABLE 1
#define MAX11040_BUF_SIZE
volatile uint8_t max11040_data
volatile uint8_t max11040_status
volatile int32_t max11040_values[MAX11040_BUF_SIZE][MAXM_NB_CHAN]
volatile uint32_t max11040_buf_in
void max11040_periodic(void)
volatile uint32_t max11040_buf_out
volatile uint8_t max11040_count
volatile uint32_t max11040_timestamp[MAX11040_BUF_SIZE]
int int32_t
Typedef defining 32 bit int type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.