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

One decoded on-disk timestamp plus availability facts. More...

#include <ra8_fs_types.h>

Collaboration diagram for ra8_fs_timestamp_t:

Data Fields

ra8_fs_datetime_t value
 Decoded civil date/time.
bool valid
 true => the on-disk date is legal.
bool utc_offset_valid
 true => utc_offset_min is known.

Detailed Description

One decoded on-disk timestamp plus availability facts.

valid distinguishes a real decoded entry stamp from the volume root (which has no directory entry) or malformed third-party metadata. utc_offset_valid is independent because FAT stores a valid civil date without any zone, and exFAT may explicitly mark its offset unknown.

Invariant
utc_offset_valid implies valid.
When valid is false, value is all zero.
Since
0.1.0

Definition at line 364 of file ra8_fs_types.h.

Field Documentation

◆ utc_offset_valid

bool ra8_fs_timestamp_t::utc_offset_valid

true => utc_offset_min is known.

Definition at line 367 of file ra8_fs_types.h.

Referenced by internal_stat_decode_exfat(), internal_stat_decode_fat(), and internal_timestamp().

◆ valid

bool ra8_fs_timestamp_t::valid

true => the on-disk date is legal.

Definition at line 366 of file ra8_fs_types.h.

Referenced by internal_stat_decode_exfat(), internal_stat_decode_fat(), and internal_timestamp().

◆ value

ra8_fs_datetime_t ra8_fs_timestamp_t::value

Decoded civil date/time.

Definition at line 365 of file ra8_fs_types.h.

Referenced by internal_stat_decode_exfat(), internal_stat_decode_fat(), and internal_timestamp().


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