AHP® XC Correlators API
AHP XC Correlators
|
Functions | |
DLL_EXPORT int32_t | ahp_xc_connect (const char *port) |
Connect to a serial port. More... | |
DLL_EXPORT int32_t | ahp_xc_connect_fd (int32_t fd) |
Connect to a serial port or other stream associated to the given file descriptor. More... | |
DLL_EXPORT int32_t | ahp_xc_get_fd () |
Obtain the serial port file descriptor. More... | |
DLL_EXPORT void | ahp_xc_disconnect (void) |
Disconnect from the serial port or descriptor opened with ahp_xc_connect. More... | |
DLL_EXPORT uint32_t | ahp_xc_is_connected (void) |
Report connection status. More... | |
DLL_EXPORT uint32_t | ahp_xc_is_detected (void) |
Report if a correlator was detected. More... | |
DLL_EXPORT int32_t | ahp_xc_get_baudrate (void) |
Obtain the current baud rate. More... | |
DLL_EXPORT void | ahp_xc_set_baudrate (baud_rate rate) |
Obtain the current baud rate. More... | |
DLL_EXPORT void | ahp_xc_set_correlation_order (uint32_t order) |
Set the crosscorrelation order. More... | |
DLL_EXPORT int32_t | ahp_xc_get_correlation_order () |
Get the crosscorrelation order. More... | |
DLL_EXPORT int32_t ahp_xc_connect | ( | const char * | port | ) |
port | The serial port name or filename |
DLL_EXPORT int32_t ahp_xc_connect_fd | ( | int32_t | fd | ) |
fd | The file descriptor of the stream |
DLL_EXPORT void ahp_xc_disconnect | ( | void | ) |
DLL_EXPORT int32_t ahp_xc_get_baudrate | ( | void | ) |
DLL_EXPORT int32_t ahp_xc_get_correlation_order | ( | ) |
DLL_EXPORT int32_t ahp_xc_get_fd | ( | ) |
DLL_EXPORT uint32_t ahp_xc_is_connected | ( | void | ) |
DLL_EXPORT uint32_t ahp_xc_is_detected | ( | void | ) |
DLL_EXPORT void ahp_xc_set_baudrate | ( | baud_rate | rate | ) |
rate | The new baud rate index |
DLL_EXPORT void ahp_xc_set_correlation_order | ( | uint32_t | order | ) |
order | The new crosscorrelation order |