|
AEM
|
#include <board.h>
Public Member Functions | |
| Board (uint8_t numberADC, const uint8_t nbChannelVec[]) | |
| boardID | getGUID () const |
| float | getValue (uint8_t adcID, uint8_t channelID) const |
| uint8_t | getMgrNbChannels (uint8_t mgrId) const |
Data Fields | |
| const uint8_t | nbADCs |
Protected Attributes | |
| ADCMgr ** | adcMgrVec |
Class encapsulates board functionality, eg number of ADCS, etc.
| Board::Board | ( | uint8_t | numberADC, |
| const uint8_t | nbChannelVec[] | ||
| ) |
constructor
| numberADC | how many adcs are on the board |
| nbChannelVec | an array containing the numer of channels that each ADC has |
| boardID Board::getGUID | ( | ) | const |
get the board id
| uint8_t Board::getMgrNbChannels | ( | uint8_t | mgrId | ) | const |
for a given adc mgr id, get the number of channels available
| mgrId | an index for the adcMgrVec array |
| float Board::getValue | ( | uint8_t | adcID, |
| uint8_t | channelID | ||
| ) | const |
get a value for an ADC and Channel pair
| adcID | the adc in question |
| channelID | the channel in question |
|
protected |
vector of pointers to ADC Mgr instances that the board has
| const uint8_t Board::nbADCs |
how many ADCs are connected on this board