libtiepie-hw
1.2.5
|
Select the event that controls the trigger output. More...
Functions | |
TIEPIE_HW_API uint64_t | tiepie_hw_device_trigger_output_get_events (tiepie_hw_handle handle, uint16_t output) |
Get the supported trigger output events for a specified device trigger output. More... | |
TIEPIE_HW_API uint64_t | tiepie_hw_device_trigger_output_get_event (tiepie_hw_handle handle, uint16_t output) |
Get the currently selected trigger output event for a specified device trigger output. More... | |
TIEPIE_HW_API uint64_t | tiepie_hw_device_trigger_output_set_event (tiepie_hw_handle handle, uint16_t output, uint64_t value) |
Set the trigger output event for a specified device trigger output. More... | |
Select the event that controls the trigger output.
Supported events are:
Only one event at a time can be set for a trigger output.
By default, the event is set to TIEPIE_HW_TOE_GENERATOR_START.
TIEPIE_HW_API uint64_t tiepie_hw_device_trigger_output_get_events | ( | tiepie_hw_handle | handle, |
uint16_t | output | ||
) |
Get the supported trigger output events for a specified device trigger output.
[in] | handle | A device handle identifying the device. |
[in] | output | The trigger output index identifying the trigger output, 0 to Dev_trOut_get_count() - 1 . |
TIEPIE_HW_API uint64_t tiepie_hw_device_trigger_output_get_event | ( | tiepie_hw_handle | handle, |
uint16_t | output | ||
) |
Get the currently selected trigger output event for a specified device trigger output.
[in] | handle | A device handle identifying the device. |
[in] | output | The trigger output index identifying the trigger output, 0 to Dev_trOut_get_count() - 1 . |
TIEPIE_HW_API uint64_t tiepie_hw_device_trigger_output_set_event | ( | tiepie_hw_handle | handle, |
uint16_t | output, | ||
uint64_t | value | ||
) |
Set the trigger output event for a specified device trigger output.
[in] | handle | A device handle identifying the device. |
[in] | output | The trigger output index identifying the trigger output, 0 to Dev_trOut_get_count() - 1 . |
[in] | value | Trigger output event, a TIEPIE_HW_TOE_* value. |
TIEPIE_HW_STATUS_INVALID_OUTPUT | |
TIEPIE_HW_STATUS_INVALID_VALUE | The requested event value is invalid. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The device has no trigger outputs. |
TIEPIE_HW_STATUS_INVALID_HANDLE | |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |