Q-Code User Manual
Ver. 7.0 2021/11/30
216
Ex. Set sensitivity of different Touch-Keys by bonding option.
[Path]
PowerOn
:Switch(PE[xxdd])=[Sens0, Sens1, Sens2, Sens3]
; PE[1:0] as bonding option.
Sens0: TouchKey_Sensitivity(0)
; Set PE[1:0] as 00, the sensitivity is the highest.
Sens1: TouchKey_Sensitivity(2)
; Set PE[1:0] as 01, the sensitivity is between the 2
nd
highest and intermediate.
Sens2: TouchKey_Sensitivity(4)
; Set PE[1:0] as 10, the sensitivity is intermediate.
Sens3: TouchKey_Sensitivity(7)
; Set PE[1:0] as 11, the sensitivity is the lowest.
Ex. Using register to dynamically adjust sensitivity for different modes.
[Path]
PowerOn
:
Main
: R0=0, R_Mode_Count>=8?SetSens, R0=4, SetSens
SetSens: TouchKey_Sensitivity(R0)
; Sensitivity is set by R0.
Ex. Set sensitivity of Touch-Keys directly by the level of the external resistor when power up.
[Path]
PowerOn
: TouchKey_Sensitivity(Radj)
; Adjust sensitivity by the level of the external resistor.
Note: When the external resistor is not mounted or the resistor value exceeds the table range,
the sensitivity will remain as the original setting.
4.15.7 Calibrate_ON
Turn on the Touch-Keys calibration function. (The default is enabled.)
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NX1 do not support this command.
4.15.8 Calibrate_OFF
Turn off the Touch-Keys calibration function.
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NX1 do not support this command.
4.15.9 AutoJudge_Calibrate
If AutoJudge_Calibrate function is enabled, IC will calibrate under the environment conditions
automatically. If any Touch-Key is pressed during calibration, the function will be stopped.
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NX1 do not support this command.
Ex. Calibrate the Touch-Keys every 4 seconds.
[Path]
4Sec: AutoJudge_Calibrate
; Calibrate the Touch-Keys every 4 seconds. If the
function is turned off,
IC
won’t do AutoJudge
calibration.
TR1R: Calibrate_ON
; Turn on the calibration of Touch-Keys.