EasyManua.ls Logo

Freescale Semiconductor MPC5553 - Page 680

Default Icon
1208 pages
Print Icon
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...
MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor 17-41
Figure 17-29. Modulus Counter Up Mode Example
Figure 17-30. Modulus Counter Up/Down Mode Example
17.4.4.4.12 Output Pulse Width and Frequency Modulation Mode (OPWFM)
Table 17-24. Mode of Operation: OPWFM Mode
MODE[0:6] Unified Channel Mode of Operation
0b0011000 Output pulse width and frequency modulation
(FLAG set at match of internal counter and comparator B, immediate update)
0b0011001 Output pulse width and frequency modulation
(FLAG set at match of internal counter and comparator B, next period update)
0b0011010 Output pulse width and frequency modulation
(FLAG set at match of internal counter and comparator A or comparator B, immediate
update)
0b0011011 Output pulse width and frequency modulation
(FLAG set at match of internal counter and comparator A or comparator B, next
period update)
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.
A2value 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.
A2value 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