39 #define OCTO_BRD_SMALL 0
40 #define OCTO_BRD_LARGE 1
60 bool octoInitChan(
int brd,
int ch, uint8_t highVolt, uint8_t threshold);
84 bool octoReadEnabled(
int brd, uint32_t * enabled);
96 bool octoPMTID(
int brd,
int ch, uint32_t *
id,
bool * pmtIdFault);
bool octoHighVoltage(int brd, int ch, bool hvOn)
Turns the high-voltage on or off.
bool octoPiezo(bool on)
Turns the Piezo on or off.
bool octoChainTest(int brd, int ch)
Executes a chain-test.
void octoResetBoard(int brd)
bool octoInitChan(int brd, int ch, uint8_t highVolt, uint8_t threshold)
Initializes a channel on the octopus board.
bool octoPMTID(int brd, int ch, uint32_t *id, bool *pmtIdFault)
Reads a PMT ID.
Manages the global system error.
bool octoDeinitChan(int brd, int ch)
De-Initializes a channel on the octopus board.
This module is responsible for distributing error codes.
bool octoReadFault(int brd, uint32_t *fault)
Reads the fault register of the CLPD.
Configures the board-specific peripherals, like I2C, SPI etc...