Q-Code User Manual
Ver. 7.0 2021/11/30
46
Mode only supports 16ms, the Sleep Mode supports 50ms / 100ms.
Debounce
: The number of successive frames for scanning as to detect a Touch-Key has been
pressed. More frames get more accurate result, but the time to detect a Touch-Key is
being touched will be longer. For those environments with noise interference, it is
recommended to select more frames. Available values for NY9T: 1/2/6/6 frames (default
2 frames). For NX1: 0~7 frames (default 2 frames)
Slow-Green Mode
: The Slow-Green Mode is only available if there are more than 8 (including 8)
Touch-Keys. When using TouchKey_Scan_Slow command to enter slow mode,
IC will be in Slow-Green Mode after sleep if Slow-Green Mode is enabled,
otherwise IC will be in Slow mode. (Default is enabled.)
TouchKey_DebounceTime is the time that a Touch-Key is detected as pressed in normal mode;
whereas TouchKey_DetectTime is the time that a Touch-Key is detected as pressed in slow mode.
The actual detecting time may be shorter. The formula for calculating a Touch-Key detecting time is
shown below:
Normal Mode = SampleTime x FrameRate x Debounce
Slow Mode = SampleTime x FrameRate x ( 3 + Debounce )
Slow-Green Mode = SampleTime x FrameRate x (4 + Debounce)
Note:
1. NY4 / NY5 / NY5+ / NY6 / NY7 /do not support Touch-Key related options.
2. Frame Rate is fixed to 16 samples in NY9T016A.
3. NY9T001A / NY9T004A has no Slow-Green Mode setting.
4. The Slow-Green Mode is only available as IC enters sleep mode and switches to
TouchKey_Scan_Slow.
5. In Normal mode, IC will keep in Normal Mode Scan, with or without using
TouchKey_Scan_Slow.
Detection
: There are 2 kinds of Touch-Keys tracking: Single-Key and Multi-Key. The Single-Key
accepts one single touched key at the same time, whereas the Multi-Key accepts
multiple touched keys. (Default=Multi-Key)
Ex.
TouchKey_Detection
= Multi-Key
; Detect multiple touched keys at the same
time.
Wakeup
: User can select to wake IC up by PA.0 or any Touch-Keys. (Default=AnyKey)
Ex.
TouchKey_Wakeup
= PA0
; Only PA0 key can wake IC up.
Ex.
TouchKey_Wakeup
= AnyKey
; Any Touch-Keys can wake IC up.
Note:
1. The TouchKey_WakeUp function is not available for NY9T001A.