SdFat
|
Functions | |
void | clearCallback () |
void | setCallback (void(*dateTime)(uint16_t *date, uint16_t *time)) |
void | setCallback (void(*dateTime)(uint16_t *date, uint16_t *time, uint8_t *ms10)) |
Variables | |
void(* | callback )(uint16_t *date, uint16_t *time, uint8_t *ms10) = NULL |
void(* | callback2 )(uint16_t *date, uint16_t *time) = NULL |
Date time callback.
Date time callback
void FsDateTime::clearCallback | ( | ) |
Cancel callback
void FsDateTime::setCallback | ( | void(*)(uint16_t *date, uint16_t *time) | dateTime | ) |
Set the date/time callback function
[in] | dateTime | The user's call back function. The callback function is of the form: |
Sets the function that is called when a file is created or when a file's directory entry is modified by sync(). All timestamps, access, creation, and modify, are set when a file is created. sync() maintains the last access date and last modify date/time.
void FsDateTime::setCallback | ( | void(*)(uint16_t *date, uint16_t *time, uint8_t *ms10) | dateTime | ) |
Set the date/time callback function
[in] | dateTime | The user's call back function. The callback function is of the form: |
Sets the function that is called when a file is created or when a file's directory entry is modified by sync(). All timestamps, access, creation, and modify, are set when a file is created. sync() maintains the last access date and last modify date/time.
void(* FsDateTime::callback)(uint16_t *date, uint16_t *time, uint8_t *ms10) = NULL |
Date time callback.
void(* FsDateTime::callback2)(uint16_t *date, uint16_t *time) = NULL |
Date time callback.