Skip to content

RTCAPI ​

cpp
#include <VAmiga.h>
cpp
class RTCAPI

Defined in VAmiga.h:1160

API of the real-time clock.

Public Methods ​

ReturnNameDescription
const RTCConfig &getConfig constReturns the component's current configuration.
voidupdateUpdates the RTC's internal state. Call this function if you want, e.g., spypeek to return an up-to-date value from the RTC register memory locations.

getConfig ​

const

cpp
const RTCConfig & getConfig() const

Defined in VAmiga.h:1170

Returns the component's current configuration.


update ​

cpp
void update()

Defined in VAmiga.h:1176

Updates the RTC's internal state. Call this function if you want, e.g., spypeek to return an up-to-date value from the RTC register memory locations.