Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 1.79 KB

termination.md

File metadata and controls

91 lines (68 loc) · 1.79 KB

Termination

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) No
Async-335 (17D15X) No
Async-PCIe (17V35X) Yes

Get

int serialfc_get_termination(serialfc_handle h, unsigned *status)
Parameter Type Description
h serialfc_handle The handle to your port
status unsigned int * The current termination value
Return Code Value Cause
0 Success
SERIALFC_NOT_SUPPORTED 17000 Not supported on this family of cards
Examples
#include <serialfc.h>
...

unsigned status;

serialfc_get_termination(h, &status);

Enable

int serialfc_enable_termination(serialfc_handle h)
Parameter Type Description
h serialfc_handle The handle to your port
Return Code Value Cause
0 Success
SERIALFC_NOT_SUPPORTED 17000 Not supported on this family of cards
Examples
#include <serialfc.h>
...

serialfc_enable_termination(h);

Disable

int serialfc_disable_termination(serialfc_handle h)
Parameter Type Description
h serialfc_handle The handle to your port
Return Code Value Cause
0 Success
SERIALFC_NOT_SUPPORTED 17000 Not supported on this family of cards
Examples
#include <serialfc.h>
...

serialfc_disable_termination(h);

Additional Resources