ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
fw_fs_timestamp_t Struct Reference

One portable timestamp and independent availability facts. More...

#include <fw_if_fs_types.h>

Collaboration diagram for fw_fs_timestamp_t:

Data Fields

fw_fs_datetime_t value
 Decoded civil date and time.
bool valid
 True when the field is meaningful.
bool utc_offset_valid
 True when utc_offset_min is known.

Detailed Description

One portable timestamp and independent availability facts.

Civil time avoids requiring an epoch or 64-bit calendar conversion on firmware. valid == false means value is all zero. A valid timestamp may still have an unknown UTC offset (FAT is one example).

Definition at line 136 of file fw_if_fs_types.h.

Field Documentation

◆ utc_offset_valid

bool fw_fs_timestamp_t::utc_offset_valid

True when utc_offset_min is known.

Definition at line 139 of file fw_if_fs_types.h.

Referenced by internal_metadata_set_page_timestamp(), internal_timestamp(), and priv_fs_posix_timestamp().

◆ valid

bool fw_fs_timestamp_t::valid

True when the field is meaningful.

Definition at line 138 of file fw_if_fs_types.h.

Referenced by internal_metadata_set_page_timestamp(), internal_timestamp(), and priv_fs_posix_timestamp().

◆ value

fw_fs_datetime_t fw_fs_timestamp_t::value

Decoded civil date and time.

Definition at line 137 of file fw_if_fs_types.h.

Referenced by internal_metadata_set_page_timestamp(), internal_timestamp(), and priv_fs_posix_timestamp().


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