Instruction Set
1111
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
Execution
Z = 0;
If (Period C[24:0] != 1FF_FFFFh) {
Period C[24:0] = Period C[24:0] + 1;
}
Register A = Period C[24:0];
If (specified capture edge detected on selected pin)
{
Z = 1;
If (Period value != 1FF_FFFFh)
{
HR Capture Value = selected HR counter;
}
else
{
HR Capture Value = 7Fh;
}
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];
}
If (specified reset edge detected on selected pin)
{
Period value = 0000000h;
}
Prv bit = Current Logic (Lx) value of selected pin;
Jump to Next Program Address;
The specific interrupt flag that is triggered depends on the address from which the instruction is executed,
see