Class RTC
This class represents the Real-Time Clock.
Inheritance
System.Object
RTC
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.HAL
Assembly: Cosmos.HAL2.dll
Syntax
public static class RTC
Fields
| Improve this Doc View SourceAddress
Address IOPort.
Declaration
public const int Address = 112
Field Value
Type | Description |
---|---|
System.Int32 |
Data
Data IOPort.
Declaration
public const int Data = 113
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceCentury
The current century. Beware, this may cause issues on computers from before 1995.
Declaration
public static byte Century { get; }
Property Value
Type | Description |
---|---|
System.Byte |
DayOfTheMonth
The current day of the month.
Declaration
public static byte DayOfTheMonth { get; }
Property Value
Type | Description |
---|---|
System.Byte |
DayOfTheWeek
The current day of the week.
Declaration
public static byte DayOfTheWeek { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Hour
The current hour. Please note, this is always in 24-hour format.
Declaration
public static byte Hour { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Minute
The current minute.
Declaration
public static byte Minute { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Month
The current month.
Declaration
public static byte Month { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Second
The current second.
Declaration
public static byte Second { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Year
The current year in the century.
Declaration
public static byte Year { get; }
Property Value
Type | Description |
---|---|
System.Byte |