EasyManua.ls Logo

NXP Semiconductors MPC5566 - Page 725

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 Modular Input/Output Subsystem (eMIOS)
MPC5566 Microcontroller Reference Manual, Rev. 2
17-46 Freescale Semiconductor
Figure 17-32 and Figure 17-33 shows how to use the unified channel as a modulus counter in up mode and
up/down mode, respectively.
Figure 17-32. Modulus Counter Up Mode Example
Figure 17-33. Modulus Counter Up/Down Mode Example
0x000303 0x000200
EMIOS_CCNTRn
FLAG
set event
MODE[4] = 0
A1 match A1 match
A1 value
1
Notes:
1
Writing EMIOS_An writes to A2.
A2 value transferred to A1 according to OUn bit.
Time
0x000000
A1 match A1 match
0x0002000x000303
0xFFFFFF
0x000303
0x000200
Write to
A2
Write to
A2
0xxxxxxx 0x000303
0x000303 0x000200
EMIOS_CCNTRn
FLAG
set event
MODE[4] = 1
A1 match A1 match
A1 value
1
Notes:
1
Writing EMIOS_An writes to A2.
A2 value transferred to A1 according to OUn bit.
Time
0x000000
B1(=0) match B1(=0) match
0x000200
0xFFFFFF
0x000303
0x000200
Write to
A2
0xxxxxxx 0x000303
Write to
A2
0x000200

Table of Contents

Related product manuals