Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples
include/sys/device.h File Reference
Detailed Description
Nut/OS device definitions.
Defines | |
| #define | WAIT5 |
| #define | WAIT50 |
| #define | WAIT100 |
| #define | WAIT250 |
| #define | WAIT500 |
| #define | IFTYP_RAM |
| RAM device. | |
| #define | IFTYP_ROM |
| ROM device. | |
| #define | IFTYP_STREAM |
| Stream device. | |
| #define | IFTYP_NET |
| Net device. | |
| #define | IFTYP_TCPSOCK |
| TCP socket. | |
| #define | IFTYP_CHAR |
| Character stream device. | |
| #define | IFTYP_CAN |
| CAN device. | |
Typedefs | |
| typedef _NUTDEVICE | NUTDEVICE |
| Device structure type. | |
| typedef _NUTVIRTUALDEVICE | NUTVIRTUALDEVICE |
| Device structure type. | |
| typedef _IFSTREAM | IFSTREAM |
| Stream interface type. | |
Functions | |
| int | NutRegisterDevice (NUTDEVICE *dev, uptr_t base, u_char irq) |
| Register and initialize a device. | |
| NUTDEVICE * | NutDeviceLookup (CONST char *name) |
| Find device entry by name. | |
Variables | |
| NUTDEVICE * | nutDeviceList |
| Linked list of all registered devices. | |