34 ShardEdge(
bool i2c3Enabled,
bool uartUserEnabled,
bool spi1Enabled,
35 bool rs232Enabled, uint8_t adc1_range, uint8_t adc2_range,
36 uint8_t adc3_range, uint8_t adc4_range);
88 int readCarrierBoardRev(
char *carrierBoardRevision);
100 uint8_t configureAdcRange(uint8_t adcRange);
103 bool uartUserEnabled_;
107 AnalogIn *adcPins[4];
Definition: shard_edge.h:14
ShardEdge(bool i2c3Enabled, bool uartUserEnabled, bool spi1Enabled, bool rs232Enabled, uint8_t adc1_range, uint8_t adc2_range, uint8_t adc3_range, uint8_t adc4_range)
Function creates instance of ShardEdge class and set private variables to given input values.
int manageShardEdge24V(bool state)
Function manage Shard Edge 24V output.
double readVoltage(int adc_port)
Function reads voltage from given ADC port.
int configureShardEdge(void)
Function configures Shard Edge according to variables set during instance creation.
double readCurrentLoop(int cl_port)
Function reads current loop value from given CL.
The file contains constants of vitro-shard-sdk for user usage.
The file defines debug macros.
The namespace contains all of components of vitro-shard-sdk and components based on the sdk....
Definition: can_layer.h:9