Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
disk_operations Struct Reference

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)
 

Detailed Description

Disk operations.

Field Documentation

◆ init

int(* disk_operations::init) (struct disk_info *disk)

◆ ioctl

int(* disk_operations::ioctl) (struct disk_info *disk, uint8_t cmd, void *buff)

◆ read

int(* disk_operations::read) (struct disk_info *disk, uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector)

◆ status

int(* disk_operations::status) (struct disk_info *disk)

◆ write

int(* disk_operations::write) (struct disk_info *disk, const uint8_t *data_buf, uint32_t start_sector, uint32_t num_sector)

The documentation for this struct was generated from the following file: