Features; Functional Descriptions; Systick Calibration; Register Map - Holtek HT32F12345 User Manual

32-bit microcontroller with arm cortex-m3 core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M3 MCU
HT32F12345

Features

16 system Cortex
Up to 64 Maskable peripheral interrupts
16 programmable priority levels (4 bits for interrupt priority setting)
Non-Maskable interrupt
Low-latency exception and interrupt handling
Vector table remapping capability
Integrated simple, 24-bit system timer, SysTick
24-bit down counter
Auto-reloading capability
Maskable system interrupt generation when counter decrements to 0
SysTick clock source derived from the HCLK or AHB clock divided by 8

Functional Descriptions

SysTick Calibration

The SysTick Calibration Value Register (SCALIB) is provided by the NVIC to give a reference time
base of 1 ms for the RTOS tick timer or other purpose. The TENMS field in the SCALIB register
has a fixed value of 12000 which is the counter reload value to indicate 1 ms when the clock source
comes from the SysTick reference input clock STCLK with a frequency of 12 MHz (96 MHz divide
by 8).

Register Map

The following table shows the NVIC registers and reset values.

Table 27. NVIC Register Map

Register
NVIC Base Address = 0xE000_E000
ICTR
SCTRL
SLOAD
SVAL
SCALIB
ISER0_31
ISER32_63
ISER64_95
ICER0_31
ICER32_63
ICER64_95
ISPR0_31
ISPR32_63
ISPR64_95
ICPR0_31
ICPR32_63
Rev. 1.10
-M3 exceptions
®
Offset
0x004
Interrupt Control Type Register
0x010
SysTick Control and Status Register
0x014
SysTick Reload Value Register
0x018
SysTick Current Value Register
0x01C
SysTick Calibration Value Register
0x100
Irq 0 to 31 Set Enable Register
0x104
Irq 32 to 63 Set Enable Register
0x108
Irq 64 to 95 Set Enable Register
0x180
Irq 0 to 31 Clear Enable Register
0x184
Irq 32 to 63 Clear Enable Register
0x188
Irq 64 to 95 Clear Enable Register
0x200
Irq 0 to 31 Set Pending Register
0x204
Irq 32 to 63 Set Pending Register
0x208
Irq 64 to 95 Set Pending Register
0x280
Irq 0 to 31 Clear Pending Register
0x284
Irq 32 to 63 Clear Pending Register
169 of 590
Description
Reset Value
0x0000_0001
0x0000_0000
Unpredictable
Unpredictable
0x4000_2EE0
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
November 28, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F12345 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents