|
HALFRED
0.4.0
|
IODevice API. More...
IODevice API.
#include <stdint.h>#include <stddef.h>#include <signal.h>#include <stdarg.h>#include "hal_config.h"#include "hal_defs.h"#include "hal_os.h"Go to the source code of this file.
Typedefs | |
| typedef OSTime | IOTime |
| typedef struct IODeviceDesc * | IODevice |
Functions | |
| HALRESULT | IODEV_Init (IODevice iodevice) |
| HALRESULT | IODEV_Deinit (IODevice iodevice) |
| HALRESULT | IODEV_IOCtl (IODevice iodevice, unsigned int request,...) |
| HALRESULT | IODEV_EnableWrite (IODevice iodevice) |
| HALRESULT | IODEV_DisableWrite (IODevice iodevice) |
| HALRESULT | IODEV_EnableRead (IODevice iodevice) |
| HALRESULT | IODEV_DisableRead (IODevice iodevice) |
| size_t | IODEV_GetReadCount (IODevice iodevice) |
| size_t | IODEV_GetWriteSpace (IODevice iodevice) |
| size_t | IODEV_Read (IODevice iodevice, void *data, size_t size, IOTime timeout) |
| size_t | IODEV_Write (IODevice iodevice, const void *data, size_t size, IOTime timeout) |
| int | IODEV_Lock (IODevice iodevice, unsigned int timeout) |
| void | IODEV_Unlock (IODevice iodevice) |
1.8.7