h6. [[DeviceFS]] h6(. » DeviceDriver_Entry h2. DeviceDriver_Entry h5. (SWI -) |_<^{width:4em}. Entry | | |<^. R0 |<^. "Reason code":#reasoncodes | |_<^{width:4em}. Exit | | |<^. - |<^. Dependant on value of Reason Code | h4(#reasoncodes). Reason Codes |_<^{width:4em}. # |_<^. Reason Code | |<^. 0 |<^. [[DeviceDriver_Entry 0|Initialise]] | |<^. 1 |<^. [[DeviceDriver_Entry 1|Finalise]] | |<^. 2 |<^. [[DeviceDriver_Entry 2|Wake up for TX]]| |<^. 3 |<^. [[DeviceDriver_Entry 3|Wake up for RX]]| |<^. 4 |<^. [[DeviceDriver_Entry 4|Sleep RX]]| |<^. 5 |<^. [[DeviceDriver_Entry 5|Enumerate directory]]| |<^. 6 |<^. [[DeviceDriver_Entry 6|Create buffer for TX]]| |<^. 7 |<^. [[DeviceDriver_Entry 7|Create buffer for RX]]| |<^. 8 |<^. [[DeviceDriver_Entry 8|Halt]] | |<^. 9 |<^. [[DeviceDriver_Entry 9|Resume]] | |<^. 10 |<^. [[DeviceDriver_Entry 10|End of Data]] | |<^. 11 |<^. [[DeviceDriver_Entry 11|stream created]] | |<^. 12 |<^. [[DeviceDriver_Entry 12|Monitor TX]] | |<^. 13 |<^. [[DeviceDriver_Entry 13|Monitor RX]] | |<^. 14 |<^. [[DeviceDriver_Entry 14|IOCtl]] | h4. Use Various calls are made by [[DeviceFS]] through this entry point when files are being opened and closed, streams halted etc. h4. Notes 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. h4. See also * [[DeviceFS]] * [[DeviceFS_Register]]