EasyManua.ls Logo

NXP Semiconductors MPC5566 - Etpu Channel N Status Control Register (Etpu_Cnscr)

NXP Semiconductors MPC5566
1268 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...
Enhanced Time Processing Unit (eTPU)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 18-43
18.4.6.3 eTPU Channel n Status Control Register (ETPU_CnSCR)
ETPU_CnSCR is a collection of the interrupt status bits of the channel, and also the function mode
definition (read-write). Bits CIS, CIOS, DTRS, and DTROS for each channel can also be accessed from
ETPU_CISR, ETPU_CIOSR, ETPU_CDTRSR, and ETPU_CDTROSR respectively. For more
information on the three previously mentioned registers, refer to the eTPU Reference Manual.
2–3
CPR
[0:1]
Channel priority. Defines the priority level for the channel. The priority level is used by the hardware scheduler. The
values for CPR[1:0] and corresponding levels are shown in the table below.
For more information on the hardware scheduler, refer to the eTPU Reference Manual.
4–6 Reserved
7
ETCS
Entry table condition select. Determines the channel condition encoding scheme that selects the entry point to be
taken in an entry table. The ETCS value has to be compatible with the function chosen for the channel, selected in
ETPU_CnCR[CFS]. Two condition encoding schemes are available.
1 Select alternate entry table condition encoding scheme.
0 Select standard entry table condition encoding scheme.For details about entry table and condition encoding
schemes, refer to the eTPU Reference Manual.
8–10 Reserved
11–15
CFS
[0:4]
Channel function select. Defines the function to be performed by the channel. The function assigned to the channel
has to be compatible with the channel condition encoding scheme, selected by ETPU_CnCR[ETCS]. For more
information about functions, refer to the eTPU Reference Manual.
16
ODIS
Output disable. Enables the channel to have its output forced to the value opposite to OPOL when the output disable
input signal corresponding to the channel group that it belongs is active.
0 Turns off the output disable feature for the channel.For more information on output disable, refer to the eTPU
Reference Manual.
1 Turns on the output disable feature for the channel
17
OPOL
Output polarity. Determines the output signal polarity. The activation of the output disable signal forces, when
enabled by ETPU_CnCR[ODIS], the channel output signal to the opposite of this polarity.
0 Output active low (output disable drives output to high)
1 Output active high (output disable drives output to low)
18–20 Reserved
21–31
CPBA
[0:10]
Channel n parameter base address. The value of this field multiplied by 8 specifies the SDM parameter base host
(byte) address for channel n (2-parameter granularity).
The formula for calculating the absolute channel parameter base (byte) address, as seen by the host, is
eTPU_Base + 0x8000 + CPBA*8. The SDM is mirrored in the parameter sign extension (PSE) area. The formula to
calculate the absolute channel parameter base (byte) address in the PSE area is eTPU_Base + 0xC000 + CPBA*8.
For more information on SDM addresses, refer to the eTPU Reference Manual.
Table 18-25. ETPU_CnCR Field Descriptions (continued)
Field Description
CPR Priority
00 Disabled
01 Low
10 Middle
11 High

Table of Contents

Related product manuals