Instruction Set
904
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
20.6.3.3 ADCNST (Add Constant)
Syntax
ADCNST {
[brk={OFF | ON}]
[next={label | 9-bit unsigned integer}]
[control={OFF | ON}]
remote={label | 9-bit unsigned integer}
min_off={25-bit unsigned integer}
data={25-bit unsigned integer}
[hr_data={7-bit unsigned integer}]
}
Figure 20-115. ADCNST Program Field (P31:P0)
31
26 25
23
22
21
13 12
9
8
0
0
Reserved
BRK
Next program address
0101
Remote address
6
3
1
9
4
9
Figure 20-116. ADCNST Control Field (C31:C0)
31
27
26
25
24
0
Reserved
Control
Res.
Minimum offset
5
1
1
25
Figure 20-117. ADCNST Data Field (D31:D0)
31
7
6
0
Data
HR Data
25
7
Cycles
Two
Register modified
Register T (implicity)
Description
ADCNST is an extension of ADM32. ADCNST first checks whether the data
field value at the remote address is zero; it then performs different adds and
moves on the result. ADCNST is typically used to extend the counter value of
PWCNT.
min_off
A 25-bit constant value that is added to the data field value if the
remote data field is null.
data
A 25-bit value that is always added to the remote data field.
Default: 0.
hr_data
Seven least significant bits of the data addition to the remote data
field.
Default: 0.