Zephyr API 3.6.99
Loading...
Searching...
No Matches
disk_access.h File Reference

Disk Access layer API. More...

Go to the source code of this file.

Functions

int disk_access_init (const char *pdrv)
 perform any initialization
 
int disk_access_status (const char *pdrv)
 Get the status of disk.
 
int disk_access_read (const char *pdrv, uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector)
 read data from disk
 
int disk_access_write (const char *pdrv, const uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector)
 write data to disk
 
int disk_access_ioctl (const char *pdrv, uint8_t cmd, void *buff)
 Get/Configure disk parameters.
 

Detailed Description

Disk Access layer API.

This file contains APIs for disk access.