DiMgslSetIdleMode


Prototype  
NTSTATUS DiMgslSetIdleMode( void *Handle,
                            ULONG IdleMode );
Parameters  
Handle
handle to open port
IdleMode
new HDLC idle mode:
 
HDLC_TXIDLE_FLAGS
stream continuous flags
HDLC_TXIDLE_ALT_ZEROS_ONE
send alternating zeros and ones
HDLC_TXIDLE_ZEROS
send continuous zeros
HDLC_TXIDLE_ONES
send continuous ones
HDLC_TXIDLE_ALT_MARK_SPACE
send alternating marks and space
HDLC_TXIDLE_SPACE
send continuous space
HDLC_TXIDLE_MARK
send continuous marks
Return Value  
STATUS_SUCCESS
Success
STATUS_INVALID_PARAMETER
error in IdleMode.
STATUS_INVALID_HANDLE
Handle is invalid

Set the HDLC idle mode which determines the state of the transmit data pin while transmitter is enabled but not sending data.

SCC Note: The SyncLink Communication Card only supports HDLC_TX_IDLE_FLAGS and HDLC_TX_IDLE_MARK. All other flags are ignored and a default of HDLC_TX_IDLE_FLAGS is used.

Previous Contents Next