Prusa MINI Firmware overview
|
Public Member Functions | |
pduration_t () | |
pduration_t (uint32_t const &seconds) | |
void | to_string (char *buffer) const |
Public Member Functions inherited from duration_t | |
duration_t () | |
Constructor. More... | |
duration_t (uint32_t const &seconds) | |
Constructor. More... | |
bool | operator== (const uint32_t &value) const |
Equality comparison. More... | |
bool | operator!= (const uint32_t &value) const |
Inequality comparison. More... | |
uint8_t | year () const |
Formats the duration as years. More... | |
uint16_t | day () const |
Formats the duration as days. More... | |
uint32_t | hour () const |
Formats the duration as hours. More... | |
uint32_t | minute () const |
Formats the duration as minutes. More... | |
uint32_t | second () const |
Formats the duration as seconds. More... | |
char * | toString (char *const buffer) const |
Formats the duration as a string. More... | |
uint8_t | toDigital (char *buffer, bool with_days=false) const |
Formats the duration as a string. More... | |
Additional Inherited Members | |
Public Attributes inherited from duration_t | |
uint32_t | value |
Duration is stored in seconds. More... | |
pduration_t::pduration_t | ( | ) |
pduration_t::pduration_t | ( | uint32_t const & | seconds | ) |
void pduration_t::to_string | ( | char * | buffer | ) | const |