Hanna
Sourcecode Batteriemanagementsystem |
![]() |
This function is the link between the hardware RTC and the timekeeping function to the sd-reader code.
year | Pointer to year |
month | Pointer to month |
day | Pointer to day |
hour | Pointer to hour |
min | Pointer to min |
sec | Pointer to sec |
To enable access time stamping in the application, set
in fat_config.h.
The documentation indicates that functions fat_set_file_modification_date() and fat_set_file_modification_time() are available, but in fact theyre not.
The way to get time stamps to work is to define a function:
which is also defined in fat_config.h and gets called by the sd-reader code.
You write this function so that your timekeeping code fills in the values.
![]() |