Skip to content

Latest commit

 

History

History
92 lines (67 loc) · 1.81 KB

echo-cancel.md

File metadata and controls

92 lines (67 loc) · 1.81 KB

Echo Cancel

The echo cancel feature disables the receiver while transmitting. This is mainly used in RS485 mode when the transmit and receive lines are tied together.

This is a board-wide (as opposed to port-by-port) setting on the Async-335 family of cards.

Code Support
Code Version
serialfc-windows 2.0.0
serialfc-linux 2.0.0
cserialfc 1.0.0
Card Support
Card Family Supported
FSCC (16C950) Yes
Async-335 (17D15X) Yes
Async-PCIe (17V35X) Yes

Get

int serialfc_get_echo_cancel(serialfc_handle h, unsigned *status)
Parameter Type Description
h serialfc_handle The handle to your port
status unsigned int * The current echo cancel value
Return Code Value Cause
0 Success
Examples
#include <serialfc.h>
...

unsigned status;

serialfc_get_echo_cancel(h, &status);

Enable

int serialfc_enable_echo_cancel(serialfc_handle h)
Parameter Type Description
h serialfc_handle The handle to your port
Return Code Value Cause
0 Success
Examples
#include <serialfc.h>
...

serialfc_enable_echo_cancel(h);

Disable

int serialfc_disable_echo_cancel(serialfc_handle h)
Parameter Type Description
h serialfc_handle The handle to your port
Return Code Value Cause
0 Success
Examples
#include <serialfc.h>
...

serialfc_disable_echo_cancel(h);

Additional Resources