3ꢅ-Bit Aꢂꢀ® Coꢂtex®-M3 MCU
HT3ꢅF1ꢅ365/HT3ꢅF1ꢅ366/HT3ꢅFꢅꢅ366
PWM Generation and Capture Timers – GPTM
▆
Two 16-bit up, down, up/down auto-reload counters
▆
16-bit programmable prescaler allowing dividing the counter clock frequency by any factor
between 1 and 65536
▆
Input Capture function
▆
Compare Match Output
▆
PWM waveform generation with Edge-aligned and Center-aligned Counting Modes
▆
Single Pulse Mode Output
▆
Encoder interface controller with two inputs using quadrature decoder
The General Purpose Timer consists of one 16-bit up/down-counter, four 16-bit Capture/Compare
Registers (CCRs), one 16-bit Counter Reload Register (CRR) and several control/status registers.
They can be used for a variety of purposes including general time measurement, input signal pulse
width measurement, output waveform generation such as single pulse generation, or PWM output
generation. The GPTM supports an Encoder Interface using a decoder with two inputs.
Basic Function Timer – BFTM
▆
Two 32-bit compare/match count-up counters - no I/O control features
▆
One shot mode – counting stops after a match condition
▆
Repetitive mode – restart counter after a match condition
The Basic Function Timer is a simple count-up 32-bit counter designed to measure time intervals
and generate a one shot or repetitive interrupts. The BFTM operates in two functional modes,
repetitive or one shot mode. In the repetitive mode the BFTM restarts the counter when a compare
match event occurs. The BFTM also supports a one shot mode which forces the counter to stop
counting when a compare match event occurs.
Watchdog Timer – WDT
▆
12-bit down counter with 3-bit prescaler
▆
Interrupt or reset event for the system
▆
Programmable watchdog timer window function
▆
Register write protection function
The Watchdog Timer is a hardware timing circuit that can be used to detect system failures due to
software malfunctions. It includes a 12-bit count-down counter, a prescaler, a WDT counter value
register, a WDT delta value register, interrupt related circuits, WDT operation control circuitry
and a WDT protection mechanism. The Watchdog Timer can be operated in an interrupt mode or
a reset mode. The Watchdog Timer will generate an interrupt or a reset when the counter counts
down and reaches a zero value. If the software does not reload the counter value before a Watchdog
Timer underflow occurs, an interrupt or a reset will be generated when the counter underflows. In
addition, an interrupt or reset is also generated if the software reloads the counter when the counter
value is greater than or equal to the WDT delta value. This means the counter must be reloaded
within a limited timing window using a specific method. The Watchdog Timer counter can be
stopped while the processor is in the debug mode. There is a register write protect function which
can be enabled to prevent it from changing the Watchdog Timer configuration unexpectedly.
Rev. 1.00
11 of 56
�oveꢀꢁeꢂ 0ꢃꢄ ꢅ01ꢃ