
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
844
Freescale Semiconductor
24.5.5.1
Channel Registers and Flags
Channel configuration and control registers can be divided in the following groups:
•
Host Configuration and Control registers
, which define channel Function and parameter
allocation in SPRAM, input signal filtering, manage Host interrupts, and are used for Host Service
Requests; they can only be accessed by Host, except for the Function Mode bits which can be also
tested by microcode.
•
Event Registers
, which can only be accessed by eTPU Microengine, through dedicated Channel
Control microinstruction operations (see
Section 24.5.9.3, Channel control and configuration
); these registers are directly used to implement channel functionality, and include
channel event status latches which can be directly tested by Microengine branch instructions.
•
Pin Control registers
, which basically define pin state and transition polarity (but not input signal
filtering); they are accessible only by dedicated Channel Control microinstruction operations.
•
Link registers
, which implement the channel link mechanism that allows one channel to request
service to another one; they are accessible only by microinstruction operations.
•
General Channel registers
: CHAN, SRI, Flag0/1, PDCM, UDCM.
Most of those registers are channel exclusive, i.e., there is one copy of them for each channel. Microcode
can access registers from only one channel at a time. The Channel Selection (CHAN) register (see
Channel Selection Register – CHAN
), accessible only by microcode, defines the channel whose registers
are being accessed, with exception of link register and function mode. CHAN register assumes the value
of the channel to be serviced at the beginning of TST.
The Service Request Inhibit (SRI) register controls the generation of Service Requests on matches and
transitions, also affecting channel logic behavior. For a full description see
Match/Transition Service Request Inhibit Latch
. Flag0/1 are used to select channel service threads based
on channel software state. See
Section , Flag1,Flag0 – Channel “state resolution” flags
, for more details.
Host Configuration and Control registers are described in
Section 24.4.7, Channel configuration and
.
Time Base configuration is common to all channels, and described in
. Time
Base selection for matches and captures, however, is individual to each channel, and is part of the Event
Registers.
Link registers are described in
Section 24.5.5.5, Channel Link
The following sections describe the Event Registers and Pin Control registers.
24.5.5.1.1
ER – Event Registers
Each channel contains two identical Event Register sets, named ERA and ERB, corresponding to the two
actions supported. Each Event Register set contains:
•
A 24-bit Match register (Match A or Match B), which holds a match value. This value is compared
against the selected match time base (TCR1 or TCR2).
•
A 24-bit Capture register (CaptureA or CaptureB), which samples the selected capture time base
(TCR1 or TCR2)
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...