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 |
Version |
serialfc-windows |
2.0.0 |
serialfc-linux |
2.0.0 |
cserialfc |
1.0.0 |
Card Family |
Supported |
FSCC (16C950) |
Yes |
Async-335 (17D15X) |
Yes |
Async-PCIe (17V35X) |
Yes |
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 |
#include <serialfc.h>
...
unsigned status;
serialfc_get_echo_cancel(h, &status);
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 |
#include <serialfc.h>
...
serialfc_enable_echo_cancel(h);
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 |
#include <serialfc.h>
...
serialfc_disable_echo_cancel(h);