![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <rtc.h>
Data Fields | |
| DEVICE | device |
| The Device entry for this RTC. | |
| uint32_t | rtcid |
| Unique Id of this RTC in the RTC table. | |
| uint32_t | rtcstate |
| RTC state (eg RTC_STATE_ENABLED). | |
| rtc_device_start_proc | devicestart |
| A Device specific DeviceStart method implementing the standard RTC device interface. | |
| rtc_device_stop_proc | devicestop |
| A Device specific DeviceStop method implementing the standard RTC device interface. | |
| rtc_device_get_time_proc | devicegettime |
| A Device specific DeviceGetTime method implementing the standard RTC device interface. | |
| rtc_device_set_time_proc | devicesettime |
| A Device specific DeviceSetTime method implementing the standard RTC device interface. | |
| rtc_device_get_properties_proc | devicegetproperties |
| A Device specific DeviceGetProperties method implementing the standard RTC device interface. | |
| uint32_t | getcount |
| uint32_t | setcount |
| MUTEX_HANDLE | lock |
| Device lock. | |
| RTC_PROPERTIES | properties |
| Device properties. | |
| RTC_DEVICE * | prev |
| Previous entry in RTC table. | |
| RTC_DEVICE * | next |
| Next entry in RTC table. | |
| DEVICE device |
The Device entry for this RTC.
| uint32_t rtcid |
Unique Id of this RTC in the RTC table.
| uint32_t rtcstate |
RTC state (eg RTC_STATE_ENABLED).
| rtc_device_start_proc devicestart |
A Device specific DeviceStart method implementing the standard RTC device interface.
| rtc_device_stop_proc devicestop |
A Device specific DeviceStop method implementing the standard RTC device interface.
| rtc_device_get_time_proc devicegettime |
A Device specific DeviceGetTime method implementing the standard RTC device interface.
| rtc_device_set_time_proc devicesettime |
A Device specific DeviceSetTime method implementing the standard RTC device interface.
| rtc_device_get_properties_proc devicegetproperties |
A Device specific DeviceGetProperties method implementing the standard RTC device interface.
| uint32_t getcount |
| uint32_t setcount |
| MUTEX_HANDLE lock |
Device lock.
| RTC_PROPERTIES properties |
Device properties.
| RTC_DEVICE* prev |
Previous entry in RTC table.
| RTC_DEVICE* next |
Next entry in RTC table.