www.ti.com
Instruction Set
1093
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
cond_addr This field is not optional for the DJZ instruction.
irq ON generates an interrupt when the data field reaches zero. No
interrupt is generated when the bit is OFF.
Default: OFF.
data Specifies the 25-bit integer value used as a counter. This counter is
decremented each time the DJZ instruction is executed until the
counter reaches 0.
Default: 0.
Execution
If (Data != 0)
{
Data = Selected register = Data - 1;
Jump to Next Program Address;
}
else
{
Selected register = 000000h;
If (Interrupt Enable == 1) HETFLG[n] = 1; /* n depends on address */
If ([C28:C27] == 01) Generate request on request line [P25:P23];
If ([C28:C27] == 11) Generate quiet request on request line [P25:P23];
Jump to conditional Address;
}
The specific interrupt flag that is triggered depends on the address from which the instruction is executed,
see Section 23.2.7.