6. I/O ports
A96G140/A96G148/A96A148 User’s manual
54
P15DB (P1/P5 De-bounce Enable Register): DFH
7
6
5
4
3
2
1
0
–
–
P54DB
P52DB
P17DB
P16DB
P12DB
P11DB
–
–
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
P54DB
Configure De-bounce of P54 Port
0
Disable
1
Enable
P52DB
Configure De-bounce of P52 Port
0
Disable
1
Enable
P17DB
Configure De-bounce of P17 Port
0
Disable
1
Enable
P16DB
Configure De-bounce of P16 Port
0
Disable
1
Enable
P12DB
Configure De-bounce of P12 Port
0
Disable
1
Enable
P11DB
Configure De-bounce of P11 Port
0
Disable
1
Enable
NOTES:
1.
If the same level is not detected on enabled pin three or four times in a row at the sampling clock, the
signal is eliminated as noise.
2.
A pulse level should be input for the duration of 3 clock or more to be actually detected as a valid edge.
3.
The port de-bounce is automatically disabled at stop mode and recovered after stop mode release.
4.
Refer to
the port 0 de-bounce enable register (P0DB)
for the de-bounce clock of port 1 and port 5.