#include <sys/device.h>
Collaboration diagram for _NUTDEVICE:
[legend]
Detailed Description
Device structure.
Field Documentation
|
|
Hardware base address.
Will be set by calling NutRegisterDevice(). On some device drivers this address may be fixed. |
|
|
Driver control block.
Points to a device specific information block. |
|
|
Interface control block.
With stream devices, this points to the IFSTREAM structure and with network devices this is a pointer to the IFNET structure. |
|
|
Driver initialization routine.
This routine is called during device registration. |
|
|
Driver control function.
Used to modify or query device specific settings. |
|
|
Interrupt registration number.
Will be set by calling NutRegisterDevice(). On some device drivers the interrupt may be fixed. |
|
|
Type of interface.
May be any of the following:
- IFTYP_RAM
- IFTYP_ROM
- IFTYP_STREAM
- IFTYP_NET
- IFTYP_TCPSOCK
- IFTYP_CHAR
|