libtiepie-hw
1.2.5
|
The device trigger kind determines how the device trigger responds to the device trigger input signal. More...
Functions | |
TIEPIE_HW_API uint64_t | tiepie_hw_device_trigger_input_get_kinds (tiepie_hw_handle handle, uint16_t input) |
Get the supported trigger kinds for a specified device trigger input. More... | |
TIEPIE_HW_API uint64_t | tiepie_hw_device_trigger_input_get_kind (tiepie_hw_handle handle, uint16_t input) |
Get the currently selected trigger kind for a specified device trigger input. More... | |
TIEPIE_HW_API uint64_t | tiepie_hw_device_trigger_input_set_kind (tiepie_hw_handle handle, uint16_t input, uint64_t value) |
Set the required trigger kind for a specified device trigger input. More... | |
The device trigger kind determines how the device trigger responds to the device trigger input signal.
Use tiepie_hw_device_trigger_input_get_kinds() to find out which trigger kinds are supported by the device trigger input. Read more on device trigger kind.
Default value: TIEPIE_HW_TK_RISINGEDGE if supported, else TIEPIE_HW_TK_FALLINGEDGE.
TIEPIE_HW_API uint64_t tiepie_hw_device_trigger_input_get_kinds | ( | tiepie_hw_handle | handle, |
uint16_t | input | ||
) |
Get the supported trigger kinds for a specified device trigger input.
[in] | handle | A device handle identifying the device. |
[in] | input | The trigger input index identifying the trigger input, 0 to Dev_trIn_get_count() - 1 . |
TIEPIE_HW_STATUS_INVALID_INPUT | |
TIEPIE_HW_STATUS_NOT_AVAILABLE | With the current settings, the trigger input is not available. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The device has no trigger inputs. |
TIEPIE_HW_STATUS_INVALID_HANDLE | |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API uint64_t tiepie_hw_device_trigger_input_get_kind | ( | tiepie_hw_handle | handle, |
uint16_t | input | ||
) |
Get the currently selected trigger kind for a specified device trigger input.
[in] | handle | A device handle identifying the device. |
[in] | input | The trigger input index identifying the trigger input, 0 to Dev_trIn_get_count() - 1 . |
TIEPIE_HW_STATUS_INVALID_INPUT | |
TIEPIE_HW_STATUS_NOT_AVAILABLE | With the current settings, the trigger input is not available. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The device has no trigger inputs. |
TIEPIE_HW_STATUS_INVALID_HANDLE | |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API uint64_t tiepie_hw_device_trigger_input_set_kind | ( | tiepie_hw_handle | handle, |
uint16_t | input, | ||
uint64_t | value | ||
) |
Set the required trigger kind for a specified device trigger input.
[in] | handle | A device handle identifying the device. |
[in] | input | The trigger input index identifying the trigger input, 0 to Dev_trIn_get_count() - 1 . |
[in] | value | The required trigger kind, a TIEPIE_HW_TK_* value. |
TIEPIE_HW_STATUS_INVALID_INPUT | |
TIEPIE_HW_STATUS_NOT_AVAILABLE | With the current settings, the trigger input is not available. |
TIEPIE_HW_STATUS_INVALID_VALUE | The requested trigger kind is invalid. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The device has no trigger inputs. |
TIEPIE_HW_STATUS_INVALID_HANDLE | |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |