AEM
config.h File Reference
#include "I2C.h"

Go to the source code of this file.

Data Structures

struct  u8u32f_struct
 

Macros

#define BOARD_USE_BOARD_0   (0) /*<! slecect which board will be configured, a true value uses board ZERO otherwise BOARD_1 */
 
#define BOARD_BOARD_0_ID   (0)
 
#define BOARD_BOARD_0_NB_ADCS   (1)
 
#define BOARD_BOARD_0_ADC_0_NB_CHANNELS   (8)
 
#define BOARD_BOARD_1_ID   (1)
 
#define BOARD_BOARD_1_NB_ADCS   (5)
 
#define BOARD_BOARD_1_ADC_0_NB_CHANNELS   (0)
 
#define BOARD_BOARD_1_ADC_1_NB_CHANNELS   (0)
 
#define BOARD_BOARD_1_ADC_2_NB_CHANNELS   (0)
 
#define BOARD_BOARD_1_ADC_3_NB_CHANNELS   (0)
 
#define BOARD_BOARD_1_ADC_4_NB_CHANNELS   (3)
 
#define ADCMGR_SS_PIN   (10)
 
#define SlaveApp_LED_PIN_1   (35)
 
#define SlaveApp_LED_PIN_2   (36)
 
#define SlaveApp_HB_TIME   (500)
 
#define SlaveApp_SAY_HEARTBEAT_ONLY   (true)
 
#define SlaveApp_HB_SHOW_COUNT   (300)
 

Typedefs

typedef uint32_t timeStamp_t
 
typedef float ADC_value_t
 
typedef uint8_t ADCCID_t
 
typedef uint32_t boardID
 

Functions

struct u8u32f_struct __attribute__ ((__packed__))
 
boolean operator== (const u8u32f_struct &r) const
 
boolean operator!= (const u8u32f_struct &r) const
 

Variables

uint8_t u8
 
uint32_t u32
 
float f
 

Macro Definition Documentation

#define ADCMGR_SS_PIN   (10)

ADCMGR config

#define BOARD_BOARD_0_ADC_0_NB_CHANNELS   (8)

nb of adcs channels for board zero adc zero

#define BOARD_BOARD_0_ID   (0)

ID of board zero

#define BOARD_BOARD_0_NB_ADCS   (1)

nb of adcs connected to board zero

#define BOARD_BOARD_1_ADC_0_NB_CHANNELS   (0)

max = 8; nb of adcs channels for board one adc zero AD7689

#define BOARD_BOARD_1_ADC_1_NB_CHANNELS   (0)

max = 8; nb of adcs channels for board one adc one AD7689

#define BOARD_BOARD_1_ADC_2_NB_CHANNELS   (0)

max = 3; nb of adcs channels for board one adc two ADXL345

#define BOARD_BOARD_1_ADC_3_NB_CHANNELS   (0)

max = 3; nb of adcs channels for board one adc three KX122

#define BOARD_BOARD_1_ADC_4_NB_CHANNELS   (3)

max = 3; nb of adcs channels for board one adc four KX122

#define BOARD_BOARD_1_ID   (1)

ID of board one

#define BOARD_BOARD_1_NB_ADCS   (5)

nb of adcs connected to board one

#define BOARD_USE_BOARD_0   (0) /*<! slecect which board will be configured, a true value uses board ZERO otherwise BOARD_1 */

Board config

#define SlaveApp_HB_SHOW_COUNT   (300)
#define SlaveApp_HB_TIME   (500)
#define SlaveApp_LED_PIN_1   (35)

SlaveApp config

#define SlaveApp_LED_PIN_2   (36)
#define SlaveApp_SAY_HEARTBEAT_ONLY   (true)

Typedef Documentation

typedef float ADC_value_t

typedef for ADC values

typedef uint8_t ADCCID_t

typedef for ADC AID and CID encoded onto 8 bits

typedef uint32_t boardID

typedef for GUID on 32 unsigned bits

typedef uint32_t timeStamp_t

Types config typedef for timestamps

Function Documentation

struct u8u32f_struct __attribute__ ( (__packed__)  )
boolean __attribute__::operator!= ( const u8u32f_struct r) const
boolean __attribute__::operator== ( const u8u32f_struct r) const

Variable Documentation

float f
uint32_t u32
uint8_t u8