Obtain information of a device trigger output.
More...
Obtain information of a device trigger output.
The following information of a device trigger output is available:
◆ tiepie_hw_device_trigger_output_get_id()
TIEPIE_HW_API uint32_t tiepie_hw_device_trigger_output_get_id |
( |
tiepie_hw_handle |
handle, |
|
|
uint16_t |
output |
|
) |
| |
Get the id of a specified device trigger output.
- Parameters
-
[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 . |
- Returns
- The trigger output id, a TIEPIE_HW_TOID_* value.
- Status values
-
- See also
- tiepie_hw_device_trigger_get_output_index_byId()
- Since
- 1.0
◆ tiepie_hw_device_trigger_output_get_name()
TIEPIE_HW_API uint32_t tiepie_hw_device_trigger_output_get_name |
( |
tiepie_hw_handle |
handle, |
|
|
uint16_t |
output, |
|
|
char * |
buffer, |
|
|
uint32_t |
length |
|
) |
| |
Get the name of a specified device trigger output.
- Parameters
-
[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 . |
[out] | buffer | A pointer to a buffer for the name. |
[in] | length | The length of the buffer, in bytes. |
- Returns
- The length of the name in bytes, excluding terminating zero.
- Status values
-
- Since
- 1.0
◆ tiepie_hw_device_trigger_output_trigger()
Trigger the specified device trigger output.
- Parameters
-
[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 . |
- Returns
- TIEPIE_HW_BOOL_TRUE if successful, TIEPIE_HW_BOOL_FALSE otherwise.
- Status values
-
- Since
- 1.0