Instruction Set
www.ti.com
1114
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
Execution
If (Data field value == 0)
{
Selected register = 0;
Jump to Next Program Address;
}
If (Data field value > 1)
{
Selected register = Data field value - 1;
Data field value = Counter value - 1;
If (Enable Pin action == 1)
{
Selected Pin = Pin Action AT next loop resolution clock;
}
Jump to Next Program Address;
}
If (Data field value == 1)
{
Selected register = 0000000h;
Data field value = 0000000h;
If (Opposite action == 1)
{
If (hr_lr bit == 0)
{
If (Enable Pin action == 1)
{
Selected Pin = Opposite level of Pin Action AT next loop resolution clock
+ HR delay;
}
}
else
{
If (Enable Pin action == 1)
{
Selected Pin = Opposite level of Pin Action AT next loop
resolution clock;
}
}
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.