Literal constants for electronics quantities. More...
Functions | |
constexpr tick | operator""_tick (long double v) |
Literal tick value. More... | |
constexpr tick | operator""_tick (unsigned long long int v) |
constexpr tick_d | operator""_tickd (long double v) |
Literal tick (double -based, tick_d ) value. More... | |
constexpr tick_d | operator""_tickd (unsigned long long int v) |
constexpr counts | operator""_ADC (long double v) |
Literal ADC count value. More... | |
constexpr counts | operator""_ADC (unsigned long long int v) |
constexpr counts_f | operator""_ADCf (long double v) |
Literal ADC count value (single precision floating points). More... | |
constexpr counts_f | operator""_ADCf (unsigned long long int v) |
Literal constants for electronics quantities.
These functions allow a simplified syntax for specifying a tick quantity. In order to use these, their namespace must be used:
constexpr counts util::quantities::electronics_literals::operator""_ADC | ( | long double | v | ) |
Literal ADC count value.
Definition at line 160 of file electronics.h.
constexpr counts util::quantities::electronics_literals::operator""_ADC | ( | unsigned long long int | v | ) |
Definition at line 162 of file electronics.h.
constexpr counts_f util::quantities::electronics_literals::operator""_ADCf | ( | long double | v | ) |
Literal ADC count value (single precision floating points).
Definition at line 168 of file electronics.h.
constexpr counts_f util::quantities::electronics_literals::operator""_ADCf | ( | unsigned long long int | v | ) |
Definition at line 170 of file electronics.h.
constexpr tick util::quantities::electronics_literals::operator""_tick | ( | long double | v | ) |
constexpr tick util::quantities::electronics_literals::operator""_tick | ( | unsigned long long int | v | ) |
Definition at line 146 of file electronics.h.
constexpr tick_d util::quantities::electronics_literals::operator""_tickd | ( | long double | v | ) |
Literal tick (double
-based, tick_d
) value.
Definition at line 152 of file electronics.h.
constexpr tick_d util::quantities::electronics_literals::operator""_tickd | ( | unsigned long long int | v | ) |
Definition at line 154 of file electronics.h.