Instruction Set
www.ti.com
1120
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
23.6.3.20 SCMP (Sequence Compare)
Syntax SCMP {
[brk={OFF | ON}]
[next={label | 9-bit unsigned integer}]
[reqnum={3-bit unsigned integer}
[request={NOREQ | GENREQ | QUIET}]
[control={OFF | ON}]
[en_pin_action={OFF | ON}]
cond_addr={label | 9-bit unsigned integer}
pin ={pin number}
[action={CLEAR | SET}]
[restart={OFF | ON}]
[irq={OFF | ON}]
[data={25-bit unsigned integer]
}
Figure 23-177. SCMP Program Field (P31:P0)
31 26 25 23 22 21 13 12 9 8 0
0 Request
Number
BRK Next program address 0000 Reserved
6 3 1 9 4 9
Figure 23-178. SCMP Control Field (C31:C0)
31 29 28 27 26 25 24 23 22 21 16
Reserved Request type Control Cout
prv
Reserved En. pin
action
Conditional address
3 2 1 1 2 1 9
15 13 12 8 7 6 5 4 3 2 1 0
Conditional address Pin select Res. 01 Action Reserved Restart
enable
Int.
ena
9 5 1 2 1 2 1 1
Figure 23-179. SCMP Data Field (D31:D0)
31 7 6 0
Data Reserved
25 7
Cycles One
Register modified Register T (implicitly)
Description This instruction alternately performs angle- and time-based operations to
generate pulse sequences, using the angle referenced time base. These
pulse sequences last for a relative duration using a free running time base.
Generally, register B holds the angle values and register A holds the time
values. Bit 0 of the conditional address field (C13) specifies whether the
instruction is operating in angle or time operation mode.