AK4160 AKM [Asahi Kasei Microsystems], AK4160 Datasheet - Page 25

no-image

AK4160

Manufacturer Part Number
AK4160
Description
16-channel Capacitive Touch Sensor IC
Manufacturer
AKM [Asahi Kasei Microsystems]
Datasheet
GPIO Input Control Register
Refer to
MS1313-E-01
Address 0x35/0x37/…/0x43 (W/R) Default 0x00
Address 0x36/0x38/…/0x44 (W/R) Default 0x00
GPIO Input Control
GPIO Input Control
D6-D4
D3-D2
D7-D4
D3-D0
DEB0, DEB1
Bits
Bits
D7
D1
D0
Table 7
Description
Description
0000
0001
0010
0011
0100
0101
0110
0111
for the correspondence of the register address and the GPIO pin.
Reserved
DEB1
DEB0
Name
IRQC
Name
DIR
PE
PU
Consecutive
number
128
256
16
32
64
1
4
8
DEB1[3]
DIR
This bit should be set to “0” at the input setting of GPIO.
Reserved: This bit should be written by “0”, when writing.
GPIO Interrupt Setting
Pull-up, Pull-down Enable
Pull-up / Pull-down Selector
Debounce Setting at Rising Edge
Debounce Setting at Falling Edge
D7
D7
00: No Interrupt
01: Interrupt on a rising edge
10: Interrupt on a falling edge
11: Interrupt on both edges
0: Invalid
1: Valid. The direction is fixed by PU bit.
0: Pull-down
1: Pull-up
time.
When “1” is detected “2 x 2
frequency, the result of input is set to “1”.
However, when DEB1[3:0] bits = “0”, the result is updated by detecting “1” one
time.
When “1” is detected “2 x 2
frequency, the result of input is set to “0”.
However, when DEB0[3:0] bits = “0”, the result is updated by detecting “1” one
Reserved
DEB1[2]
Consecutive
D6
D6
Table 8. Debounce Setting
time (ms)
0.125
0.25
0.5
1
2
4
8
-
Reserved
DEB1[1]
- 25 -
D5
D5
DEB0, DEB1
DEB1”
DEB0”
Reserved
DEB1[0]
D4
D4
1000
1001
1010
1011
1100
1101
1110
1111
Description
Description
times in a row with 31.25us of the sampling
times in a row with 31.25us of the sampling
DEB0[3]
IRQC[1]
D3
D3
(Table
(Table
Consecutive
number
16384
32768
32768
8)
8)
1024
2048
4096
8192
IRQC[0]
DEB0[2]
512
D2
D2
DEB0[1]
D1
D1
PE
Consecutive
time (ms)
1024
1024
128
256
512
16
32
64
DEB0[0]
[AK4160]
2011/11
D0
D0
PU

Related parts for AK4160