DEVHIO_sio_write Function#include <kmc/hio/devhio_sio.h>
int DEVHIO_sio_write(
int ch,
const void * buf,
int length,
int attr
);
| Name | Description | |
|---|---|---|
| in | ch | Channel number (from 0 to DEVHIO_COMM_MAX_CHANNEL-1). |
| in | buf | Send buffer. |
| in | length | Length of the data to send. |
| in | attr | Specifying DEVHIO_SIO_ATTR_NONE causes the function to block until the specified amount of data is sent.Specifying DEVHIO_SIO_ATTR_NOWAIT causes the function to return either when the specified amount of data is sent or when the receive buffer becomes full (whichever comes first). |
Sends data via serial communication.
CONFIDENTIAL