Datasheet
Cont.
Register A
Off
On
HETGCR.17
Stop
HETGCR.0
32 Bit ALU
Compare
To VIM
HETOFF2.7:0
HETOFF1.7:0
Register R
Register B
HETFLG. 31:0
Specialized timer micromachine
Priority 1
Priority 2
To VIM
Rotate/
Shift By N
HETADDR.8:0
HETPRY.31:0
From N2HET RAM
To I/O Control
Register T
Register S
CURRENT INSTRUCTION
PROGRAM FIELD
CONTROL FIELD
DATA FIELD
www.ti.com
N2HET Functional Description
23.2 N2HET Functional Description
The N2HET contains RAM into which N2HET code is loaded. The N2HET code is run by the specialized
timer micromachine. The host interface and I/O control provide an interface to the CPU and external pins
respectively.
23.2.1 Specialized Timer Micromachine
The N2HET has its own instruction set, detailed in Section 23.5.1. The timer micromachine reads each
instruction from the N2HET RAM. The program and control fields contain the instructions for how the
specialized timer micromachine executes the command. For most instructions, the data field stores the
information that needs to be manipulated.
The specialized timer micromachine executes the instructions stored in the N2HET RAM sequentially. The
N2HET program execution is self-driven by external or internal events. This means that input edges or
output compares may force the program to branch to special routines using a conditional address.
Figure 23-2 shows some of the major operations that the N2HET can carry out, namely compares,
captures, angle functions, additions, and shifts. The N2HET contains five registers (A, B, R, S, and T)
used to hold compare or counter values and are used by the N2HET instructions. Data may be taken from
the registers or the data field for manipulation; likewise, the data may be returned to the registers or the
data field.
Figure 23-2. Specialized Timer Micromachine
935
SPNU562–May 2014 High-End Timer (N2HET) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated