![Freescale Semiconductor PXR4030 Скачать руководство пользователя страница 1229](http://html1.mh-extra.com/html/freescale-semiconductor/pxr4030/pxr4030_reference-manual_23306601229.webp)
Enhanced Time Processing Unit (eTPU2)
Freescale Semiconductor
29-61
PXR40 Microcontroller Reference Manual, Rev. 1
29.3.3.2.4
Priority Scheme Example
The overall priority scheme simultaneously incorporates both primary and secondary schemes. Combining
both schemes in the following example conveys their correlation.
1. One high-priority and one low priority channels request service, while the Scheduler is in time slot
one. Having its service request bit asserted, a single high-level channel is granted the time slot,
which has high-level priority (primary scheme) and its service grant bit is asserted. At the end of
the thread, the service grant bit is negated (no more requests of high priority level channels).
2. The Scheduler proceeds to time slot two, which has middle-level priority; however, no
middle-level channel is requesting service. Priority is passed to the high level, but no high-level
channel is requesting service; therefore, priority is passed again, and service is granted to the single
requesting low-level channel. Once serviced, this channel’s grant bit is negated (no more low-level
requests).
3. The Scheduler resumes with the fixed-priority sequence on time slot three; however, no channels
are requesting service. The Scheduler returns to time slot one, waiting for requests.
4. Two high-level and two middle-level channels simultaneously request service. Being in time slot
one which is assigned high priority, the Scheduler finds the lowest numbered high-level channel
(secondary scheme) and selects it for service. This channel’s service grant bit is asserted.
5. The Scheduler continues to time slot two, which has middle priority (primary scheme), and
allocates the slot to the lowest numbered middle-level channel requesting service (secondary
scheme). The Scheduler notes the still unserviced middle-level channel and proceeds to time slot
three.
6. Time slot three is allocated for high priority. The slot is allocated to the remaining unserviced
high-priority channel, and the channel’s service grant bit is asserted. The Scheduler checks again
at the end of the thread. All service grant bits of high-level requested channels are asserted;
therefore, all high-priority channels that requested have been allocated execution time. Under this
condition, all service grant bits of the high-level serviced channels are negated. The Scheduler
proceeds to time slot four.
7. Time slot four is allocated for low-priority channel; however, no low-level channel is requesting
service. Priority is passed to the high level, but no high-level channel is requesting service;
therefore, priority is passed again, and service is granted to the remaining middle-level channel
which requests service. This channel’s service grant bit is asserted. The Scheduler checks again at
the end of the thread. All grant bits of middle-level requested channels are asserted; therefore, all
middle-priority channels have been allocated execution time. Under this condition, all service grant
bits of the middle-level serviced channels are negated. The Scheduler proceeds to time slot five.
Meanwhile a low priority channel requests service.
8. Time slot five is allocated for high-priority channels, but there are no more requests from
high-priority or middle priority channels. The single low-level channel which required service is
granted time slot five. Once serviced, the channel’s service grant bit is asserted. Next, the service
grant bit is negated (no more requests of low priority level channels).
9. The Scheduler resumes with the fixed-priority sequence on time slot six; however, no channels are
requesting service. The Scheduler returns to time slot one and waits for requests.
Содержание PXR4030
Страница 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Страница 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Страница 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Страница 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Страница 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 158: ...Power Management Controller PMC 5 26 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL 6 24 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 278: ...System Integration Unit SIU 7 96 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 280: ...System Information Module PXR40 Microcontroller Reference Manual Rev 1 8 2 Freescale Semiconductor...
Страница 300: ...Boot Assist Module BAM 9 20 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 346: ...Interrupts and Interrupt Controller INTC 10 46 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 352: ...General Purpose Static RAM SRAM 11 6 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 432: ...Core e200z7 Overview PXR40 Microcontroller Reference Manual Rev 1 13 44 Freescale Semiconductor...
Страница 460: ...Peripheral Bridge PBRIDGE 15 16 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 478: ...Memory Protection Unit MPU 16 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 496: ...Error Correction Status Module ECSM 17 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 524: ...Periodic Interrupt Timer PIT_RTI 20 12 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 740: ...FlexRay Communication Controller FLEXRAY 22 156 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 928: ...Deserial Serial Peripheral Interface DSPI 25 68 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 982: ...Enhanced Serial Communication Interface eSCI 26 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1114: ...Enhanced Queued Analog to Digital Converter EQADC 27 132 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1262: ...Enhanced Time Processing Unit eTPU2 29 94 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1399: ...Nexus Development Interface NDI Freescale Semiconductor 31 83 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1400: ...Nexus Development Interface NDI 31 84 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...