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

One reading already packed into the two 16-bit FAT words plus tenths. More...

Data Fields

uint16_t date
 MS FAT spec sec 6 packed date word.
uint16_t time
 MS FAT spec sec 6 packed time word.
uint8_t tenth
 DIR_CrtTimeTenth: 0..199 in 10 ms.

Detailed Description

One reading already packed into the two 16-bit FAT words plus tenths.

Produced once per stamping call so a file's create, write and access fields all describe the same instant instead of straddling a clock tick between three separate reads.

Invariant
date is never 0 – month and day are 1-based and always clamped into range, which is the whole point of this file.
See also
priv_fat_stamp_now()
Since
0.1.0

Definition at line 97 of file ra8_fs_fat_time.c.

Field Documentation

◆ date

uint16_t fat_stamp_t::date

◆ tenth

uint8_t fat_stamp_t::tenth

DIR_CrtTimeTenth: 0..199 in 10 ms.

Definition at line 100 of file ra8_fs_fat_time.c.

Referenced by internal_fat_pack(), priv_fat_entry_set_times(), and priv_fat_entry_stamp_create().

◆ time

uint16_t fat_stamp_t::time

MS FAT spec sec 6 packed time word.

Definition at line 99 of file ra8_fs_fat_time.c.

Referenced by internal_fat_pack(), priv_fat_entry_set_times(), priv_fat_entry_stamp_create(), and priv_fat_entry_stamp_write().


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