Represents a time source for registration. More...
Data Fields | |
const char * | ts_name |
void(* | ts_start )(void) |
void(* | ts_stop )(void) |
Represents a time source for registration.
This struct designates the procedures to start and stop a time source service. It it used with ltrx_time_register_source().
Note that your struct must persist, so you will typically declare it static const
.
const char* ltrx_time_source::ts_name |
Name of this source as it will appear in configuration menu choices.
void(* ltrx_time_source::ts_start)(void) |
Function that starts up this time source.
void(* ltrx_time_source::ts_stop)(void) |
Function that stops this time source.