EasyManua.ls Logo

Texas Instruments TMS570LC4357

Texas Instruments TMS570LC4357
2208 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.ti.com
Instruction Set
1069
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
else
{
Register B = 0;
Data Field Register = 0;
If (ACF == 0) DCF = 1;
}
}
Z = 0;
If (Data field register == GapStart)
{
GPF = 1;
If (Target Edge condition is true)
{
ACF = 0;
If ((specified edge is not detected on pin HET[2]) AND (data
field register != 0) AND (ACF == 0) AND (angle increment condition
is true))
DCF = 1;
}
If (specified edge is detected on pin HET[2])
{
DCF = 0;
If ((target_edge_field != 0) AND (DCF == 0)) ACF = 1;
If (GPF == 1)
{
GPF = 0;
Z = 1;
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 ((target_edge_field != 0) and (pin_edge_cond == 1))
{
pin_update = 0;
}
else if (target_edge_field == 0)
{
pin_update = 1;
}
If (pin_update is true in next loop clock cycle)
{
Prv bit = Current Lx value of HET[2] pin;
}
Jump to next program address;
The specific interrupt flag that is triggered depends on the address from which the instruction is executed,
see Section 23.2.7.

Table of Contents

Related product manuals