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

no-image

AK4160

Manufacturer Part Number
AK4160
Description
16-channel Capacitive Touch Sensor IC
Manufacturer
AKM [Asahi Kasei Microsystems]
Datasheet
GPIO Output Control Register
Refer to
MS1313-E-01
Address 0x35/0x37/…/0x43 (W/R) Default 0x00
Address 0x36/0x38/…/0x44 (W/R) Default 0x00
GPIO Output Control
GPIO Output Control
D5-D4
D3-D2
D6-D5
D4-D0
Bits
Bits
D7
D6
D1
D0
D7
Table 7
Description
Description
for the correspondence of the register address and the GPIO pin.
DUTY
DSTR
Name
Name
PWM
DRV
REL
SRC
PRD
INV
DIR
PWM
DIR
This bit should be set to “1” at the output setting of GPIO.
The Output Setting (SRC1-0 bits = “01”, “10”, “11”)
The Selection of Output Data
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
The output level is reversed.
The Driving ability of the GPIO output driver is set.
PWM Output Enable
Cycle of the PWM output is set.
Duty of the PWM output is set.
D7
D7
0: Touch Status
1: Release Status
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)
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)
0: 1/3 drive
1: full drive
00: 125Hz
01: 250Hz
10: 500Hz
11: 1000Hz
Duty=(DUTY + 1) / 32: 1/32 ~ 32/32
PRD[1]
REL
D6
D6
SRC[1]
PRD[0]
- 26 -
D5
D5
DUTY[4]
SRC[0]
D4
D4
Description
Description
DUTY[3]
DRV[1]
D3
D3
DUTY[2]
DRV[0]
D2
D2
DUTY[1]
INV
D1
D1
DUTY[0]
[AK4160]
DSTR
2011/11
D0
D0

Related parts for AK4160