Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_RTC_DEVICE Struct Reference

#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_DEVICEprev
 Previous entry in RTC table.
RTC_DEVICEnext
 Next entry in RTC table.

Field Documentation

◆ device

DEVICE device

The Device entry for this RTC.

◆ rtcid

uint32_t rtcid

Unique Id of this RTC in the RTC table.

◆ rtcstate

uint32_t rtcstate

RTC state (eg RTC_STATE_ENABLED).

◆ devicestart

rtc_device_start_proc devicestart

A Device specific DeviceStart method implementing the standard RTC device interface.

◆ devicestop

A Device specific DeviceStop method implementing the standard RTC device interface.

◆ devicegettime

rtc_device_get_time_proc devicegettime

A Device specific DeviceGetTime method implementing the standard RTC device interface.

◆ devicesettime

rtc_device_set_time_proc devicesettime

A Device specific DeviceSetTime method implementing the standard RTC device interface.

◆ devicegetproperties

rtc_device_get_properties_proc devicegetproperties

A Device specific DeviceGetProperties method implementing the standard RTC device interface.

◆ getcount

uint32_t getcount

◆ setcount

uint32_t setcount

◆ lock

Device lock.

◆ properties

RTC_PROPERTIES properties

Device properties.

◆ prev

RTC_DEVICE* prev

Previous entry in RTC table.

◆ next

RTC_DEVICE* next

Next entry in RTC table.


The documentation for this struct was generated from the following file: