English
Language : 

AK4160 Datasheet, PDF (26/40 Pages) Asahi Kasei Microsystems – 16-channel Capacitive Touch Sensor IC
[AK4160]
GPIO Output Control Register
Address 0x35/0x37/…/0x43 (W/R) Default 0x00
Description
D7
D6
D5
D4
D3
D2
D1
GPIO Output Control
DIR
REL
SRC[1] SRC[0] DRV[1] DRV[0]
INV
D0
DSTR
Address 0x36/0x38/…/0x44 (W/R) Default 0x00
Description
D7
D6
GPIO Output Control
PWM
PRD[1]
D5
PRD[0]
D4
D3
D2
D1
D0
DUTY[4] DUTY[3] DUTY[2] DUTY[1] DUTY[0]
Bits
D7
D6
D5-D4
D3-D2
D1
D0
Name
DIR
REL
SRC
DRV
INV
DSTR
Description
This bit should be set to “1” at the output setting of GPIO.
The Output Setting (SRC1-0 bits = “01”, “10”, “11”)
0: Touch Status
1: Release Status
The Selection of Output Data
00: The value set by GPDT register (Addr 0x5D) is output.
01: The status value set by REL bit is output.
10: The status value set by REL bit is output in the toggle. (Initial value 0)
11: The status value set by REL bit is output in the toggle. (Initial value 1)
When the touch status (release status) is selected as output data, the terminal
GPIOn outputs the status of terminal CSn (n=0~7). Touch status is recognized as
“0” at shutdown mode.
The output value is initialized by writing “0” to corresponding GPDT register
(Addr 0x5D) when SRC1-0 bits = “01”, “10”, “11”.
01: The output value is initialized by “0”.
10: The output value is initialized by “0”.
11: The output value is initialized by “1”.
Output Driver Setting
00: CMOS Output
01: Low Side Output: When Output is “H”, Hi-z (Open Drain)
10: High Side Output: When Output is “L”, Hi-z (Open Drain)
11: CMOS Output (Same as 00 Setting)
The output level is reversed.
The Driving ability of the GPIO output driver is set.
0: 1/3 drive
1: full drive
Bits
D7
D6-D5
D4-D0
Name
PWM
PRD
DUTY
Description
PWM Output Enable
Cycle of the PWM output is set.
00: 125Hz
01: 250Hz
10: 500Hz
11: 1000Hz
Duty of the PWM output is set.
Duty=(DUTY + 1) / 32: 1/32 ~ 32/32
Refer to Table 7 for the correspondence of the register address and the GPIO pin.
MS1313-E-01
- 26 -
2011/11