Contiki-NG
Data Structures | Enumerations

Header file defining the disk device driver API. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  disk_driver
 Disk driver API structure. More...
 

Enumerations

enum  disk_status_t { DISK_STATUS_INIT = 0x01, DISK_STATUS_DISK = 0x02, DISK_STATUS_WRITABLE = 0x04 }
 Disk status flags. More...
 
enum  disk_ioctl_t {
  DISK_IOCTL_CTRL_SYNC, DISK_IOCTL_GET_SECTOR_COUNT, DISK_IOCTL_GET_SECTOR_SIZE, DISK_IOCTL_GET_BLOCK_SIZE,
  DISK_IOCTL_CTRL_TRIM
}
 Generic disk I/O control commands. More...
 
enum  disk_result_t {
  DISK_RESULT_OK, DISK_RESULT_IO_ERROR, DISK_RESULT_WR_PROTECTED, DISK_RESULT_NO_INIT,
  DISK_RESULT_INVALID_ARG
}
 Disk access result codes. More...
 

Detailed Description

Header file defining the disk device driver API.

Definition in file disk.h.