|
AHP® XC Correlators API
AHP XC Correlators
|
Functions | |
| DLL_EXPORT int32_t | ahp_xc_set_capture_flags (xc_capture_flags flags) |
| Set integration flags. | |
| DLL_EXPORT xc_capture_flags | ahp_xc_get_capture_flags () |
| Get integration flags. | |
| DLL_EXPORT void | ahp_xc_set_leds (uint32_t index, int32_t leds) |
| Switch on or off the led lines of the correlator. | |
| DLL_EXPORT void | ahp_xc_set_channel_cross (uint32_t index, off_t value, size_t size, size_t step) |
| Set the channel of the selected input (for cross-correlation) | |
| DLL_EXPORT void | ahp_xc_set_channel_auto (uint32_t index, off_t value, size_t size, size_t step) |
| Set the channel of the selected input (for auto-correlation) | |
| DLL_EXPORT void | ahp_xc_set_frequency_divider (unsigned char value) |
| Set the clock divider for autocorrelation and crosscorrelation. | |
| DLL_EXPORT void | ahp_xc_set_voltage (uint32_t index, unsigned char value) |
| Set the supply voltage on the current line. | |
| DLL_EXPORT void | ahp_xc_set_test_flags (uint32_t index, int32_t test) |
| Enable tests on the current line. | |
| DLL_EXPORT unsigned char | ahp_xc_get_test_flags (uint32_t index) |
| Get the current status of the test features. | |
| DLL_EXPORT unsigned char | ahp_xc_get_leds (uint32_t index) |
| Get the current status of the leds on line. | |
| DLL_EXPORT void | ahp_xc_select_input (uint32_t index) |
| Select the input on which to issue next command. | |
| DLL_EXPORT uint32_t | ahp_xc_current_input () |
| Returns the currently selected input on which next command will be issued. | |
| DLL_EXPORT int32_t | ahp_xc_send_command (xc_cmd cmd, unsigned char value) |
| Send an arbitrary command to the AHP XC device. | |
| DLL_EXPORT uint32_t | ahp_xc_get_version (void) |
| Obtain the current libahp-xc version. | |
| DLL_EXPORT uint32_t ahp_xc_current_input | ( | ) |
| DLL_EXPORT xc_capture_flags ahp_xc_get_capture_flags | ( | ) |
| DLL_EXPORT unsigned char ahp_xc_get_leds | ( | uint32_t | index | ) |
| index | The line index starting from 0 |
| DLL_EXPORT unsigned char ahp_xc_get_test_flags | ( | uint32_t | index | ) |
| index | The line index starting from 0 |
|
inline |
| DLL_EXPORT void ahp_xc_select_input | ( | uint32_t | index | ) |
| index | The input index |
| DLL_EXPORT int32_t ahp_xc_send_command | ( | xc_cmd | cmd, |
| unsigned char | value ) |
| cmd | The command |
| value | The command parameter |
| DLL_EXPORT int32_t ahp_xc_set_capture_flags | ( | xc_capture_flags | flags | ) |
| flags | New capture flags mask. |
| DLL_EXPORT void ahp_xc_set_channel_auto | ( | uint32_t | index, |
| off_t | value, | ||
| size_t | size, | ||
| size_t | step ) |
| index | The input line index starting from 0 |
| value | The starting channel |
| size | The number of channels to scan |
| step | The scan stepping in channels |
| DLL_EXPORT void ahp_xc_set_channel_cross | ( | uint32_t | index, |
| off_t | value, | ||
| size_t | size, | ||
| size_t | step ) |
| index | The input line index starting from 0 |
| value | The starting channel |
| size | The number of channels to scan |
| step | The scan stepping in channels |
| DLL_EXPORT void ahp_xc_set_frequency_divider | ( | unsigned char | value | ) |
| value | The clock divider power of 2 |
| DLL_EXPORT void ahp_xc_set_leds | ( | uint32_t | index, |
| int32_t | leds ) |
| index | The input line index starting from 0 |
| leds | The enable mask of the leds |
| DLL_EXPORT void ahp_xc_set_test_flags | ( | uint32_t | index, |
| int32_t | test ) |
| index | The input line index starting from 0 |
| test | The test flags |
| DLL_EXPORT void ahp_xc_set_voltage | ( | uint32_t | index, |
| unsigned char | value ) |
| index | The input line index starting from 0 |
| value | The voltage level |