Holtek HT32 Touch Key Library User's Guide

This document introduces the usage of HT32 MCU Touch Key Library


Holtek HT32 Touch Key Library User's Guide - cover page
Brand
Holtek
Category
microcontrollers
Document type
User Manual
Language
English
Pages
10
File format
PDF
File size
1.3 MB
Published
26 October, 2023
Updated
26 October, 2023
MD5 checksum
B12E1A3845BCC87049BA2CE964D573B3

About this manual

This document describes the HT32 touch key library developed by Best Solution for Holtek HT32 microcontrollers. It explains how to obtain the library and firmware, set up a Keil project, configure the library via the Configuration Wizard, and use the provided API functions for touch key detection, sensitivity adjustment, and power-saving sleep modes.

The guide includes a resource usage table for supported HT32F542xx devices, details the library files and initialization functions, and documents get/set/state functions such as TKL_Get_Standby, TKL_Set_KeyThreshold, and TKL_Is_AnyKeyPress. Three sleep modes (Sleep, Deep Sleep1, Deep Sleep2) are available when PowerSave is enabled.

What's inside

  • Introduction
  • Environmental Configuration
  • Keil Project Configuration
  • Library Files Description
  • Configuration Wizard Parameters
  • Touch Key Lib Interface Functions
  • Touch Key Lib Initialisation Functions
  • Key State Query
  • Sleep Mode Description
  • Conclusion

Frequently asked questions

Where can I download the HT32 Touch Key Library?

The library can be obtained from Best Solution's FAE or website (http://www.bestsolution.com.tw/EN/) or from the Holtek website (https://www.holtek.com).

What are the available sleep modes in the touch key library?

Three sleep modes are available: USE_SLEEP_MODE (Sleep Mode), USE_DEEP_SLEEP1_MODE (Deep Sleep1 Mode), and USE_DEEP_SLEEP2_MODE (Deep Sleep2 Mode).

Which firmware library version is required for the touch key library?

Firmware library version v022 or above is required.

Download PDF (1.3 MB)

More Holtek Manuals


View all Holtek manuals →