PS_Fgen_FW  4da88f4073c1cc65ea45c3a652a2751e495e50db
Firmware for an Power Supply and Function Generator build from an ATX power supply
Loading...
Searching...
No Matches
Channel.h
Go to the documentation of this file.
1
7
8#ifndef CHANNEL_H_
9#define CHANNEL_H_
10
11#include "Parameter.h"
12#include <stddef.h>
13
18typedef enum ChannelTypes
19{
20 #ifdef PS_SUBSYSTEM_ENABLED
21 POWER_SUPPLY_CHANNEL_TYPE,
22 #endif
23 #ifdef DDS_SUBSYSTEM_ENABLED
24 DDS_CHANNEL_TYPE,
25 #endif
26 #ifdef MEASURE_SUBSYSTEM_ENABLED
27 DMM_CHANNEL_TYPE
28 #endif
30
36{
37 protected:
42
43 public:
49 {
50 _channelType = channelType;
51 }
52
58};
59
60#endif /* CHANNEL_H_ */
enum ChannelTypes ChannelTypes_t
Available channel types.
ChannelTypes
Available channel types.
Definition Channel.h:19
Containing a class used to bundle min, max, default and the current values for parameters.
Channel(ChannelTypes_t channelType)
Constructor of the Channel class.
Definition Channel.h:48
ChannelTypes_t GetChannelType()
Function that can be used to return the _channelType property.
Definition Channel.h:57
ChannelTypes_t _channelType
Type of the channel.
Definition Channel.h:41