Comtrol eCos User Manual

Page 373

Advertising
background image

Chapter 16. Serial driver details

CYG_IO_GET_CONFIG_SERIAL_OUTPUT_FLUSH

Buf type:

void *

Function:

This function discards any buffered output for the device.

CYG_IO_GET_CONFIG_SERIAL_INPUT_DRAIN

Buf type:

void *

Function:

This function discards any buffered input for the device.

CYG_IO_GET_CONFIG_SERIAL_ABORT

Buf type:

void*

Function:

This function will cause any pending read or write calls on this device to return with

-EABORT

.

CYG_IO_GET_CONFIG_SERIAL_READ_BLOCKING

Buf type:

cyg_uint32 (values 0 or 1)

Function:

This function will read back the blocking-mode setting for read calls on this device. This call is only
available if the configuration option

CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING

is enabled.

269

Advertising