Entry | |
---|---|
R0 | Reason code |
Exit | |
---|---|
- | Dependant on value of Reason Code |
# | Reason Code |
---|---|
0 | Initialise |
1 | Finalise |
2 | Wake up for TX |
3 | Wake up for RX |
4 | Sleep RX |
5 | Enumerate directory |
6 | Create buffer for TX |
7 | Create buffer for RX |
8 | Halt |
9 | Resume |
10 | End of Data |
11 | stream created |
12 | Monitor TX |
13 | Monitor RX |
14 | IOCtl |
Various calls are made by DeviceFS through this entry point when files are being opened and closed, streams halted etc.
These are the interfaces that your device driver must provide. The entry point must be declared to DeviceFS by calling DeviceFS_Register when your device driver module is initialised.