1 #ifndef __IIO_BFIN_TIMER_TRIGGER_H__
2 #define __IIO_BFIN_TIMER_TRIGGER_H__
5 * struct iio_bfin_timer_trigger_pdata - timer trigger platform data
6 * @output_enable: Enable external trigger pulse generation.
7 * @active_low: Whether the trigger pulse is active low.
8 * @duty_ns: Length of the trigger pulse in nanoseconds.
10 * This struct is used to configure the output pulse generation of the blackfin
11 * timer trigger. If output_enable is set to true an external trigger signal
12 * will generated on the pin corresponding to the timer. This is useful for
13 * converters which needs an external signal to start conversion. active_low and
14 * duty_ns are used to configure the type of the trigger pulse. If output_enable
15 * is set to false no external trigger pulse will be generated and active_low
16 * and duty_ns are ignored.
18 struct iio_bfin_timer_trigger_pdata {