Table of Contents

Class RTC

Namespace
nanoFramework.Hardware.Stm32
Assembly
nanoFramework.Hardware.Stm32.dll

Provides access to RTC (real time clock) features.

public static class RTC
Inheritance
RTC
Inherited Members

Methods

GetAlarm()

Gets the DateTime set for the alarm.

public static DateTime GetAlarm()

Returns

DateTime

Return the current DateTime set for the alarm.

Remarks

If target device has more than one alarm. This is the value of Alarm A.

SetAlarm(DateTime)

Sets the DateTime for the alarm. This will wake-up the target device if it's in sleep or power down mode.

public static void SetAlarm(DateTime time)

Parameters

time DateTime

Time to set.

Remarks

If target device has more than one alarm. This will set Alarm A.