Kernel description
Function
disk_initialize
disk_read
disk_write
disk_status
disk_ioctl
f_mount
f_open
f_close
f_read
f_write
f_lseek
f_truncate
f_sync
f_opendir
f_readdir
f_getfree
f_stat
f_mkdir
f_unlink
f_chmod
f_utime
f_rename
f_mkfs
f_forward
f_chdir
f_chdrive
f_getcwd
f_gets
f_putc
f_puts
f_printf
In the FatFS file system, the page size is fixed to 512 bytes. The SD cards with higher page
size are not supported.
The software architecture of the storage unit is described in
18/76
Table 1. File system interface functions
Initialize disk drive
Interface function for a logical page read
Interface function for a logical page write
Interface function for testing if unit is ready
Control device dependent features
Register / unregister a work area
Open / create a file
Close a file
Read a file
Write a file
Move read / write pointer, expand file size
Truncate file size
Flush cached data
Open a directory
Read a directory item
Get free clusters
Get a file status
Create a directory
Remove a file or a directory
Change attribute
Change timestamp
Rename / move a file or a directory
Create a file system on the drive
Forward file data to the stream directly
Change current directory
Change current drive
Retrieve the current directory
Read a string
Write a character
Write a string
Write a formatted string
UM2222 Rev 2
Description
Figure
9.
UM2222
Need help?
Do you have a question about the STM32CubeH7 and is the answer not in the manual?