procedure IO_Write ( Major : in RTEMS.Device_Major_Number; Minor : in RTEMS.Device_Minor_Number; Argument : in RTEMS.Address; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- successfully initialized
RTEMS.INVALID_NUMBER
- invalid major device number
This directive calls the device driver write routine specified in the Device Driver Table for this major number. Write operations typically require a buffer address as part of the argument parameter block. The contents of this buffer will be sent to the device.
This directive may or may not cause the calling task to be preempted. This is dependent on the device driver being invoked.
Copyright © 1988-2003 OAR Corporation