|
| UnitGP8413 (const uint8_t addr=DEFAULT_ADDRESS) |
|
virtual bool | begin () override |
|
|
config_t | config () |
| Gets the configration.
|
|
void | config (const config_t &cfg) |
| Set the configration.
|
|
|
gp8413::Output | range (const gp8413::Channel channel) const |
| Gets the inner range.
|
|
float | maximumVoltage (const gp8413::Channel channel) const |
| Get the maximum voltage of the channel.
|
|
bool | writeOutputRange (const gp8413::Output range0, const gp8413::Output range1) |
| Write the output range.
|
|
|
template<typename T , typename std::enable_if< std::is_floating_point< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeVoltage (const gp8413::Channel channel, const T mv) |
| Output the voltage.
|
|
template<typename T , typename std::enable_if< std::is_floating_point< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeChannel0Voltage (const T mv) |
| Output the voltage(mV) to channel 0.
|
|
template<typename T , typename std::enable_if< std::is_floating_point< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeChannel1Voltage (const T mv) |
| Output the voltage(mV) to channel 1.
|
|
template<typename T , typename std::enable_if< std::is_floating_point< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeBothVoltage (const T mv0, const T mv1) |
| Output the voltage to both channel.
|
|
template<typename T , typename std::enable_if< std::is_floating_point< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeBothVoltage (const T mv) |
| Output the voltage to both channel.
|
|
|
bool | writeVoltage (const gp8413::Channel channel, const uint16_t raw) |
| Output the raw value.
|
|
template<typename T , typename std::enable_if<!std::is_same< uint16_t, T >::value &&std::is_unsigned< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeVoltage (const gp8413::Channel channel, const T raw) |
| Output the raw value.
|
|
template<typename T , typename std::enable_if<!std::is_same< uint16_t, T >::value &&std::is_unsigned< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeChannel0Voltage (const T raw) |
| Output the raw value to channel 0.
|
|
template<typename T , typename std::enable_if<!std::is_same< uint16_t, T >::value &&std::is_unsigned< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeChannel1Voltage (const T raw) |
| Output the raw value to channel 1.
|
|
bool | writeBothVoltage (const uint16_t raw0, const uint16_t raw1) |
| Output the raw value to both channel.
|
|
template<typename T , typename std::enable_if<!std::is_same< uint16_t, T >::value &&std::is_unsigned< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeBothVoltage (const T raw0, const T raw1) |
| Output the raw value to both channel.
|
|
template<typename T , typename std::enable_if<!std::is_same< uint16_t, T >::value &&std::is_unsigned< T >::value, std::nullptr_t >::type = nullptr> |
bool | writeBothVoltage (const T raw) |
| Output the raw value to both channel.
|
|
Digital-to-analog signal conversion unit.