-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.yml
29 lines (29 loc) · 939 Bytes
/
device.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%YAML 1.1
---
# yaml-language-server: $schema=https://harp-tech.org/draft-02/schema/device.json
device: LicketySplit
whoAmI: 1400
firmwareVersion: "0.0"
hardwareTargets: "0.5"
registers:
LickState:
address: 32
type: U8
access: Event
maskType: LickChannels
description: Emits an event when the state of any lick detector changes. Value will be High when lick detected and Low otherwise.
Channel0TriggerThreshold: &thresholdreg
address: 33
type: U8
access: Write
description: Threshold value to detect the lick. Values below this threshold will be considered a detected lick.
Channel0UntriggerThreshold:
<<: *thresholdreg
address: 34
description: Threshold value to release the lick detection state. Values above this threshold will untrigger a detected lick.
bitMasks:
LickChannels:
description: The channel of the lick detector.
bits:
Channel0: 0x1
Channel1: 0x2