IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
igros::arch::rtcDate_t Struct Reference

RTC date. More...

#include <drivers/clock/rtc.hpp>

Public Member Functions

constexpr auto operator== (const rtcDate_t &) const noexcept -> bool=default
 Field-wise comparison.

Public Attributes

igros_byte_t year
 Year of century.
igros_byte_t month
 Month.
igros_byte_t day

Detailed Description

RTC date.

Definition at line 37 of file rtc.hpp.

Member Function Documentation

◆ operator==()

auto igros::arch::rtcDate_t::operator== ( const rtcDate_t & ) const->bool=default
constexprdefaultnoexcept

Field-wise comparison.

Returns
true if all fields are equal

Member Data Documentation

◆ day

igros_byte_t igros::arch::rtcDate_t::day

Day of month

Definition at line 40 of file rtc.hpp.

◆ month

igros_byte_t igros::arch::rtcDate_t::month

Month.

Definition at line 39 of file rtc.hpp.

◆ year

igros_byte_t igros::arch::rtcDate_t::year

Year of century.

Definition at line 38 of file rtc.hpp.


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