-
Notifications
You must be signed in to change notification settings - Fork 0
/
hal.xml
50 lines (45 loc) · 1.23 KB
/
hal.xml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" ?>
<HAL>
<templates>
<template name="digio">
<pin type="io" initialstate="input" initialpullup="active" />
</template>
<template name="diginput">
<pin type="input" initialpullup="active" />
</template>
<template name="digswitchinput">
<pin type="input" initialpullup="active" />
<activelow />
</template>
<template name="digoutput">
<pin type="output" initialvalue="inactive" />
</template>
<template name="adcinput">
<pin type="input" initialpullup="inactive" />
</template>
</templates>
<portpin name="PA0" template="digoutput">
<description value="OUT0" />
</portpin>
<portpin name="PA1" template="digoutput">
<description value="OUT1" />
</portpin>
<portpin name="PA2" template="digoutput">
<description value="OUT2" />
</portpin>
<portpin name="PA3" template="digoutput">
<description value="OUT3" />
</portpin>
<portpin name="PA4" template="digoutput">
<description value="OUT4" />
</portpin>
<portpin name="PA5" template="digoutput">
<description value="OUT5" />
</portpin>
<portpin name="PA6" template="digoutput">
<description value="OUT6" />
</portpin>
<portpin name="PA7" template="digoutput">
<description value="OUT7" />
</portpin>
</HAL>