Accuracy of the master clock. More...
#include <Types.h>
Public Types | |
typedef uint8_t | representation_t |
Type of the representation. More... | |
Public Member Functions | |
uint16_t | get_ppm () |
Get clock accuracy. More... | |
clock_accuracy_t (type value) | |
Construct a new clock_accuracy_t value. More... | |
uint8_t | value () const |
Explicit access to the inner value of the SafeEnum instance. More... | |
const uint8_t * | storage () const |
Return a pointer to the inner storage. More... | |
|
inherited |
Type of the representation.
Definition at line 113 of file SafeEnum.h.
enum type |
enumeration of clock_accuracy_t values.
Enumerator | |
---|---|
PPM_500 |
500 PPM |
PPM_250 |
250 PPM |
PPM_150 |
150 PPM |
PPM_100 |
100 PPM |
PPM_75 |
75 PPM |
PPM_50 |
50 PPM |
PPM_30 |
30 PPM |
PPM_20 |
20 PPM |
clock_accuracy_t | ( | type | value | ) |
Construct a new clock_accuracy_t value.
value | The value of the clock_accuracy_t created. |
uint16_t get_ppm | ( | ) |
|
inherited |
Return a pointer to the inner storage.
Definition at line 209 of file SafeEnum.h.
|
inherited |
Explicit access to the inner value of the SafeEnum instance.
Definition at line 202 of file SafeEnum.h.