|
AHP® XC Correlators API
AHP XC Correlators
|
Functions | |
| DLL_EXPORT int32_t | ahp_xc_connect (const char *port) |
| Connect to a serial port. | |
| 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. | |
| DLL_EXPORT int32_t | ahp_xc_get_fd () |
| Obtain the serial port file descriptor. | |
| DLL_EXPORT void | ahp_xc_disconnect (void) |
| Disconnect from the serial port or descriptor opened with ahp_xc_connect. | |
| DLL_EXPORT uint32_t | ahp_xc_is_connected (void) |
| Report connection status. | |
| DLL_EXPORT uint32_t | ahp_xc_is_detected (void) |
| Report if a correlator was detected. | |
| DLL_EXPORT int32_t | ahp_xc_get_baudrate (void) |
| Obtain the current baud rate. | |
| DLL_EXPORT void | ahp_xc_set_baudrate (baud_rate rate) |
| Obtain the current baud rate. | |
| DLL_EXPORT void | ahp_xc_set_correlation_order (uint32_t order) |
| Set the crosscorrelation order. | |
| DLL_EXPORT int32_t | ahp_xc_get_correlation_order () |
| Get the crosscorrelation order. | |
| 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 |