ZHCU602 December   2018

 

  1.    说明
  2.    资源
  3.    特性
  4.    应用
  5.    设计图像
  6. 1System Description
    1. 1.1 Key System Specifications
    2. 1.2 Introduction
    3. 1.3 MSP430FR2633 CapTIvate MCU
  7. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 MSP430FR2633 MCU Block Diagram
      2. 2.3.2 CapTIvate Technology Block Diagram
  8. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 System Design Theory
    2. 3.2 Capacitive Touch Sensors
      1. 3.2.1 Wheel Sensor
      2. 3.2.2 Slider Sensor
      3. 3.2.3 Button Sensor
    3. 3.3 Gesture and Key Mapping
      1. 3.3.1 Media Player
      2. 3.3.2 USB HID Keyboard Data
    4. 3.4 Capacitive Touch Gestures
      1. 3.4.1 How Gesture Detection Works
      2. 3.4.2 Tap Gesture
      3. 3.4.3 Double-Tap Gesture
      4. 3.4.4 Tap-and-Hold Gesture
      5. 3.4.5 Swipe Gesture
      6. 3.4.6 Slide Gesture
    5. 3.5 Getting Started With Hardware
    6. 3.6 Getting Started With Firmware
      1. 3.6.1 Programming Target MCU
      2. 3.6.2 MSP430FR2633 CapTIvate Gesture Firmware
      3. 3.6.3 Memory Footprint
      4. 3.6.4 MSP430F5529 HID Keyboard Device Firmware
    7. 3.7 Testing
      1. 3.7.1 Gesture
      2. 3.7.2 Power Measurements
      3. 3.7.3 Moisture Tolerance
  9. 4Demonstration
    1. 4.1 Wheel
      1. 4.1.1 Volume Control
      2. 4.1.2 Changing Music Tracks
        1. 4.1.2.1 Play/Pause
      3. 4.1.3 Mute
    2. 4.2 Slider
      1. 4.2.1 Volume Control
      2. 4.2.2 Changing Music Tracks
      3. 4.2.3 Play or Pause
      4. 4.2.4 Mute
    3. 4.3 Buttons
      1. 4.3.1 Volume Control
      2. 4.3.2 Changing Music Tracks
      3. 4.3.3 Play or Pause
      4. 4.3.4 Mute
  10. 5Design Files
    1. 5.1 Schematic
    2. 5.2 Bill of Materials
  11. 6Software Files
  12. 7Related Documentation
    1. 7.1 商标
  13. 8Terminology
  14. 9About the Author

Double-Tap Gesture

A double-tap gesture is defined as a momentary finger touch followed by a release, then a second touch and release. Figure 8 shows that the double-tap gesture is essentially a tap followed by a delay that defines a window when the second touch can occur. The software parameters are TouchSampleCount_Min, TouchSampleCount_Max and DoubleTapDelayCount_Max.

NOTE

A sensor that supports double-tap also supports tap by default. The reader must be aware that if a tap and not a double-tap is detected, the tap gesture is not reported until after the double-tap delay period expires. This can create a slight delay in tap response, but when properly tuned, the delay has a minimal impact on user interaction.

TIDM-02004 tidm-02004-double-tap-timing.gifFigure 8. Double Tap Gesture Detection