|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Broken-down civil date and time used at the filesystem boundary. More...
#include <ra8_fs_types.h>
Data Fields | |
| uint16_t | year |
| Full civil year, e.g. | |
| int16_t | utc_offset_min |
| Offset of the civil fields from UTC, in minutes. | |
| uint8_t | month |
| Month of year, 1..12. | |
| uint8_t | day |
| Day of month, 1..31. | |
| uint8_t | hour |
| Hour of day, 0..23. | |
| uint8_t | minute |
| Minute of hour, 0..59. | |
| uint8_t | second |
| Second of minute, 0..59. | |
| uint8_t | centisecond |
| Hundredths within second, 0..99. | |
Broken-down civil date and time used at the filesystem boundary.
This value is shared by the injected write clock and metadata read results. The fields are civil time; utc_offset_min says which zone they belong to when the on-disk format records one. FAT has no UTC-offset field, while exFAT does.
Definition at line 339 of file ra8_fs_types.h.
| uint8_t ra8_fs_datetime_t::centisecond |
Hundredths within second, 0..99.
Definition at line 347 of file ra8_fs_types.h.
Referenced by internal_clamp_datetime(), internal_stat_decode_fat(), internal_tenths_of(), and internal_timestamp().
| uint8_t ra8_fs_datetime_t::day |
Day of month, 1..31.
Definition at line 343 of file ra8_fs_types.h.
Referenced by internal_clamp_datetime(), internal_exfat_pack(), internal_fat_pack(), internal_now_or_epoch(), internal_stat_decode_fat(), internal_stat_fat_time_valid(), and internal_timestamp().
| uint8_t ra8_fs_datetime_t::hour |
Hour of day, 0..23.
Definition at line 344 of file ra8_fs_types.h.
Referenced by internal_clamp_datetime(), internal_exfat_pack(), internal_fat_pack(), internal_stat_decode_fat(), internal_stat_fat_time_valid(), and internal_timestamp().
| uint8_t ra8_fs_datetime_t::minute |
Minute of hour, 0..59.
Definition at line 345 of file ra8_fs_types.h.
Referenced by internal_clamp_datetime(), internal_exfat_pack(), internal_fat_pack(), internal_stat_decode_fat(), internal_stat_fat_time_valid(), and internal_timestamp().
| uint8_t ra8_fs_datetime_t::month |
Month of year, 1..12.
Definition at line 342 of file ra8_fs_types.h.
Referenced by internal_clamp_datetime(), internal_exfat_pack(), internal_fat_pack(), internal_now_or_epoch(), internal_stat_decode_fat(), internal_stat_fat_time_valid(), and internal_timestamp().
| uint8_t ra8_fs_datetime_t::second |
Second of minute, 0..59.
Definition at line 346 of file ra8_fs_types.h.
Referenced by internal_clamp_datetime(), internal_exfat_pack(), internal_fat_pack(), internal_stat_decode_fat(), internal_stat_fat_time_valid(), internal_tenths_of(), and internal_timestamp().
| int16_t ra8_fs_datetime_t::utc_offset_min |
Offset of the civil fields from UTC, in minutes.
Definition at line 341 of file ra8_fs_types.h.
Referenced by internal_exfat_pack(), internal_stat_decode_exfat(), and internal_timestamp().
| uint16_t ra8_fs_datetime_t::year |
Full civil year, e.g.
Definition at line 340 of file ra8_fs_types.h.
Referenced by internal_clamp_datetime(), internal_exfat_pack(), internal_fat_pack(), internal_now_or_epoch(), internal_stat_decode_fat(), and internal_timestamp().