EasyManuals Logo

Texas Instruments TMS570LC4357 User Manual

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
Page #1081 background imageLoading...
Page #1081 background image
www.ti.com
Instruction Set
1081
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
23.6.3.6 APCNT (Angle Period Count)
Syntax APCNT {
[brk={OFF | ON}]
[next={label | 9-bit unsigned integer}]
[reqnum={3-bit unsigned integer}]
[request={NOREQ | GENREQ | QUIET}]
[irq={OFF | ON}]
type={FALL2FALL | RISE2RISE}
[control={OFF | ON}]
prv={OFF | ON}}]
period={25-bit unsigned integer}
data={25-bit unsigned integer}
}
Figure 23-128. APCNT Program Field (P31:P0)
31 26 25 23 22 21 13 12 9 8 7 6 5 0
0 Request
Number
BRK Next program address 1110 Int.
ena
Edge
select
Reserved
6 3 1 9 4 1 2 6
Figure 23-129. APCNT Control Field (C31:C0)
31 29 28 27 26 25 24 0
Res. Request
type
Control Prv. Period Count
3 2 1 1 25
Figure 23-130. APCNT Data Field (D31:D0)
31 7 6 0
Data Reserved
25 7
Cycles One or two cycles
Cycle 1: edge detected (normal operation)
Cycle 2: edge detected and GPF = 1 and underflow condition is true
One cycle (normal operation) two cycles (edge detected)
Register modified Register A and T (implicitly)
Description This instruction is used before SCNT and ACNT to generate an angle-
referenced time base synchronized to an external signal (that is, a toothed
wheel signal). It is assumed that the pin and edge selections are the same for
APCNT and ACNT.
APCNT is restricted to pin HET[2]. The toothed wheel must then be connected
to pin HET[2].
APCNT uses the gap flag (GPF) defined by ACNT to start or stop captures in
the period count field [C24:C0]. When GPF = 1, the previous period value is
held in the control field and in register T. When GPF = 0, the current period
value is captured in the control field and in register T.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS570LC4357 and is the answer not in the manual?

Texas Instruments TMS570LC4357 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS570LC4357
CategoryMicrocontrollers
LanguageEnglish

Related product manuals