Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Disk operations. More...
#include <disk.h>
Data Fields | |
int(* | init )(struct disk_info *disk) |
int(* | status )(struct disk_info *disk) |
int(* | read )(struct disk_info *disk, uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector) |
int(* | write )(struct disk_info *disk, const uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector) |
int(* | ioctl )(struct disk_info *disk, uint8_t cmd, void *buff) |
Disk operations.
int(* disk_operations::init) (struct disk_info *disk) |
int(* disk_operations::read) (struct disk_info *disk, uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector) |
int(* disk_operations::status) (struct disk_info *disk) |
int(* disk_operations::write) (struct disk_info *disk, const uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector) |