uci-interrupt/examples/multi.yaml

21 lines
553 B
YAML

name: interrupt
path: interrupt # make a named pipe socket (listnerer)
sockets: # make a consumer to the mcp device
- name: switches
type: c
transport: n
options:
data:
id: interrupt
name: interrupt # name of consumer
initTimeout: 0
retryWait: 5
path: switches # pipe at which to connect
pins:
- 24
resetCmd: reset # command that will be pushed
resetInterval: 0 # will broadcast a generic reset request, 0 is disabled
interruptCmd: find # command that will be pushed on all consumers/sockets
edge: rising
pull: down