NXP Semiconductors MPC5644A Reference Manual page 687

Microcontroller
Table of Contents

Advertisement

22.6.2.1
Channel/Modes initialization
The following basic steps summarize basic output mode startup, assuming the channels are initially in
GPIO mode:
1. [global] Disable global prescaler.
2. [timebase channel] Disable channel prescaler.
3. [timebase channel] Write initial value at internal counter.
4. [timebase channel] Set A/B register.
5. [timebase channel] Set channel to MCB up mode.
6. [timebase channel] Set prescaler ratio.
7. [timebase channel] Enable channel prescaler.
8. [output channel] Disable channel prescaler.
9. [output channel] Set A/B register.
10. [output channel] Select timebase input through BSL[1:0] bits.
Freescale Semiconductor
MPC5644A Microcontroller Reference Manual, Rev. 6
Configurable Enhanced Modular IO Subsystem (eMIOS200)
687

Advertisement

Table of Contents
loading

Table of Contents