Nut/OS  4.10.3
API Reference
_NUTVIRTUALDEVICE Struct Reference

Virtual device structure. More...

#include <device.h>

Collaboration diagram for _NUTVIRTUALDEVICE:

Data Fields

NUTVIRTUALDEVICEvdv_next
NUTVIRTUALDEVICEvdv_zero
uint8_t vdv_type
int(* vdv_read )(void *, void *, int)
int(* vdv_write )(void *, CONST void *, int)
int(* vdv_write_P )(void *, PGM_P, int)
int(* vdv_ioctl )(void *, int, void *)

Detailed Description

Virtual device structure.

Definition at line 274 of file device.h.


Field Documentation

Definition at line 277 of file device.h.

int(* _NUTVIRTUALDEVICE::vdv_read)(void *, void *, int)

Definition at line 278 of file device.h.

Referenced by _read().

int(* _NUTVIRTUALDEVICE::vdv_write)(void *, CONST void *, int)

Definition at line 279 of file device.h.

Referenced by _close(), and _write().

int(* _NUTVIRTUALDEVICE::vdv_write_P)(void *, PGM_P, int)

Definition at line 281 of file device.h.

Referenced by _write_P().

int(* _NUTVIRTUALDEVICE::vdv_ioctl)(void *, int, void *)

Definition at line 283 of file device.h.

Referenced by _filelength(), and _ioctl().


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