History

counter: Introduce the Signal polarity component

The Signal polarity component represents the active level of a respective Signal. There are two possible states: positive (rising edge) and negative (falling edge); enum counter_signal_polarity represents these states. A convenience macro COUNTER_COMP_POLARITY() is provided for driver authors to declare a Signal polarity component.

William Breathitt Gray committed 4 years ago

Commit 650ae671 parent 7bbf8425 files · +43 −0Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/counter.h+6−0
@@ -153,4 +153,10 @@ enum counter_synapse_action { · 152 unmodified lines
153 COUNTER_SYNAPSE_ACTION_BOTH_EDGES,153 COUNTER_SYNAPSE_ACTION_BOTH_EDGES,
154};154};
155 155
156/* Signal polarity values */
157enum counter_signal_polarity {
158 COUNTER_SIGNAL_POLARITY_POSITIVE,
159 COUNTER_SIGNAL_POLARITY_NEGATIVE,
160};
161
156#endif /* _UAPI_COUNTER_H_ */162#endif /* _UAPI_COUNTER_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t