iio.Trigger class: Contains the representation of an IIO device that can act as a trigger.
More...
|
| void | set_rate (ulong rate) |
| | Configure a new frequency for this trigger.
|
| |
| ulong | get_rate () |
| | Get the currently configured frequency of this trigger.
|
| |
|
new void | set_trigger (Trigger trig) |
| | Set Trigger.
|
| |
|
new Trigger | get_trigger () |
| | Get trigger.
|
| |
| Channel | get_channel (string name) |
| | Get the iio.Channel object of the specified name.
|
| |
| void | set_trigger (Trigger trig) |
| | Affect a trigger to this device.
|
| |
| Trigger | get_trigger () |
| | Get the current trigger affected to this device.
|
| |
| uint | get_sample_size () |
| | Get the current sample size of the device.
|
| |
| void | reg_write (uint addr, uint value) |
| | Set a value to one register of this device.
|
| |
| uint | reg_read (uint addr) |
| | Read the content of a register of this device.
|
| |
| int | set_kernel_buffers_count (uint nb) |
| | Sets the number of active kernel buffers for this device.
|
| |
| Context | get_context () |
| | Gets the context of the current device.
|
| |
| Channel | find_channel (string channel, bool output) |
| | Finds the channel with the given name from the current device.
|
| |
| Attr | find_attribute (string attribute) |
| | Finds the attribute with the given name from the current device.
|
| |
| Attr | find_debug_attribute (string attribute) |
| | Finds the debug attribute with the given name from the current device.
|
| |
| Attr | find_buffer_attribute (string attribute) |
| | Finds the buffer attribute with the given name from the current device.
|
| |
| int | identify_filename (string filename, IntPtr chn_ptr, IntPtr attr) |
| | Finds the channel attribute corresponding to the given filename from the current device.
|
| |
|
| readonly string | id |
| | An identifier of this device.
|
| |
|
readonly string | name |
| | The name of this device.
|
| |
|
readonly List< Attr > | attrs |
| | A list of all the attributes that this device has.
|
| |
|
readonly List< Attr > | debug_attrs |
| | A list of all the debug attributes that this device has.
|
| |
|
readonly List< Channel > | channels |
| | A list of all the iio.Channel objects that this device possesses.
|
| |
|
string | label [get] |
| | The label of this device.
|
| |
|
bool | hwmon [get] |
| | True if the device is a hardware monitoring device, False if it is a IIO device.
|
| |
|
List< Attr > | buffer_attrs [get] |
| | A list of all the buffer attributes that this device has.
|
| |
iio.Trigger class: Contains the representation of an IIO device that can act as a trigger.
- Examples
- ExampleProgram.cs.
◆ get_rate()
| ulong iio.Trigger.get_rate |
( |
| ) |
|
|
inline |
Get the currently configured frequency of this trigger.
- Exceptions
-
| System.Exception | The configured frequency could not be obtained. |
◆ set_rate()
| void iio.Trigger.set_rate |
( |
ulong | rate | ) |
|
|
inline |
Configure a new frequency for this trigger.
- Exceptions
-
| System.Exception | The new frequency could not be set. |
The documentation for this class was generated from the following file:
- /home/iurt/rpmbuild/BUILD/libiio-0.26-build/libiio-0.26/bindings/csharp/Trigger.cs