KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cfg_board.h File Reference

Configures the board-specific peripherals, like I2C, SPI etc... More...

#include <stdint.h>

Go to the source code of this file.

I2C Device Addresses

#define INS_I2C_DEV   I2C3
 
#define SHT21_I2C_ADDR   0x40
 SHT21 I2C Address.
 
#define AHRS_I2C_SEC_ADDR   0x11
 AHRS I2C Address.
 
#define AHRS_I2C_PRIM_ADDR   0x21
 
#define LSM303D_I2C_ADDR   0x1D
 LSM303D Address.
 
#define LSM303AGR_ACC_I2C_ADDR   0x19
 LSM303AGR Addresses (for reference, actually its not configurable)
 
#define LSM303AGR_MAF_I2C_ADDR   0x1E
 
#define POWER_I2C_DEV   I2C3
 Power board I2C device.
 
#define POWER_ADC0_I2C_ADDR   0x35
 The address of the Power Board ADC (LTC2499) - deprecated, no longer used.
 
#define POWER_ADC1_I2C_ADDR   0x31
 
#define POWER_DAC_I2C_ADDR   0x73
 The address of the Power Board DAC (LTC2631)
 
#define OCTOL_I2C_DEV   I2C2
 Octopus large I2C device.
 
#define OCTOL_CPLD_I2C_ADDR   0x77
 Octopus large CLPD base address.
 
#define OCTOL_PMT_CH   19
 Octopus large PMT channel count. More...
 
#define OCTOL_MUXB_I2C_ADDR   0x74
 Octopus large I2C MUX base address.
 
#define OCTOL_PIEZO   19
 Position of the Piezo.
 
#define OCTOS_I2C_DEV   I2C1
 Octopus small I2C device.
 
#define OCTOS_CPLD_I2C_ADDR   0x73
 Octopus small CLPD address.
 
#define OCTOS_PMT_CH   12
 Octopus small PMT channel count. More...
 
#define OCTOS_MUXB_I2C_ADDR   0x70
 Octopus small I2C MUX base address.
 
#define OCTO_PROMIS_I2C_ADDR   0x30
 Generic PROMiS I2C address.
 
#define FLASH_SPI_DEV   SPI
 
#define FLASH_SPI_CS   0
 
#define CONSOLE_UART   UART_DESCR_PTR(UART_ID1)
 
uint8_t AHRS_I2C_ADDR
 

Detailed Description

Configures the board-specific peripherals, like I2C, SPI etc...

Definition in file cfg_board.h.

Macro Definition Documentation

#define OCTOL_PMT_CH   19

Octopus large PMT channel count.

No of PMT channels

Definition at line 93 of file cfg_board.h.

#define OCTOS_PMT_CH   12

Octopus small PMT channel count.

No of PMT channels

Definition at line 104 of file cfg_board.h.