Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
Cf_Fat_Set_File_Date
216
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure Cf_Fat_Set_File_Date(year: word; month: byte; day:
byte; hours: byte; mins: byte; seconds: byte);
Returns
Nothing.
Description
Sets the date/time stamp. Any subsequent file writing operation will write this
stamp to currently assigned file's time/date attributs.
Parameters : 
year
: year attribute. Valid values: 1980-2107 
month
: month attribute. Valid values: 1-12 
day
: day attribute. Valid values: 1-31 
hours
: hours attribute. Valid values: 0-23 
mins
: minutes attribute. Valid values: 0-59 
seconds
: seconds attribute. Valid values: 0-59 
Requires
CF card and CF library must be initialized for file operations. See Cf_Fat_Init.
File must be previously assigned. See Cf_Fat_Assign.
File must be open for writing. See Cf_Fat_Rewrite or Cf_Fat_Append.
Example
Cf_Fat_Set_File_Date(2005,9,30,17,41,0);