SERIES AP470 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 31 -
http://www.acromag.com
- 31 -
www.acromag.com
3
0
Disabled
1
Enabled
4
Port 4 (I/O32-I/O39) Debounce Control
0
Disabled
1
Enabled
5
Port 5 (I/O40-I/O47) Debounce Control
0
Disabled
1
Enabled
6 & 7
Not Used
Debounce Duration Register 0 (Enhanced Mode Bank 2, Port 1, Read/Write)
(BAR0 + 0x0000 000C)
This register controls the duration required by each input signal before it is
recognized by each individual input in the Enhanced Mode (both inputs and
event inputs). Register 0 controls debounce for ports 0-3. If the debounce
clock selected is the 31.25MHz internal system clock (see Debounce Clock
Select Register), then the debounce times are selected as shown below
(actual times vary to within minus 25% of nominal). Alternately, the
debounce clock may be input on I/O47 and other values configured (see
Debounce Clock Select Register), but this reduces the effective number of
I/O channels to 47.
Table 3.18 Debounce Duration
Register 0:
Bit(s)
FUNCTION
1 to 0
Port 0 Debounce Value
00
3-4us
01
48-64us
10
0.75-1ms
11
6-8ms
3 to 2
Port 1 Debounce Value
00
3-4us
01
48-64us
10
0.75-1ms
11
6-8ms
5 to 4
Port 2 Debounce Value
00
3-4us
01
48-64us
10
0.75-1ms
11
6-8ms
7 to 6
Port 3 Debounce Value
00
3-4us
01
48-64us
10
0.75-1ms
11
6-8ms