-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 325371 b: refs/heads/master c: 587a512 h: refs/heads/master i: 325369: 0ed7223 325367: a3a689c v: v3
- Loading branch information
Lars-Peter Clausen
authored and
Jonathan Cameron
committed
Sep 17, 2012
1 parent
54686d5
commit f5490cc
Showing
3 changed files
with
81 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 2aecc5b95cdb17d7b80463e9c1a542f389403cbb | ||
refs/heads/master: 587a51241c5d74a1e262d34e990f85dc4e5318c5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef __IIO_BFIN_TIMER_TRIGGER_H__ | ||
#define __IIO_BFIN_TIMER_TRIGGER_H__ | ||
|
||
/** | ||
* struct iio_bfin_timer_trigger_pdata - timer trigger platform data | ||
* @output_enable: Enable external trigger pulse generation. | ||
* @active_low: Whether the trigger pulse is active low. | ||
* @duty_ns: Length of the trigger pulse in nanoseconds. | ||
* | ||
* This struct is used to configure the output pulse generation of the blackfin | ||
* timer trigger. If output_enable is set to true an external trigger signal | ||
* will generated on the pin corresponding to the timer. This is useful for | ||
* converters which needs an external signal to start conversion. active_low and | ||
* duty_ns are used to configure the type of the trigger pulse. If output_enable | ||
* is set to false no external trigger pulse will be generated and active_low | ||
* and duty_ns are ignored. | ||
**/ | ||
struct iio_bfin_timer_trigger_pdata { | ||
bool output_enable; | ||
bool active_low; | ||
unsigned int duty_ns; | ||
}; | ||
|
||
#endif |