Enhanced Modular Input/Output Subsystem (eMIOS200)
Freescale Semiconductor
23-43
PXR40 Microcontroller Reference Manual, Rev. 1
Figure 23-38. OPWFM with Immediate Update
Figure 23-39. OPWFM with Next Period Update
23.4.1.1.14
Output Pulse-Width and Frequency Modulation Buffered (OPWFMB) Mode
The OPWFMB mode provides waveforms with variable duty cycle and frequency. The internal channel
counter is automatically selected as the time base when this mode is selected. The A1 register indicates the
duty cycle and the B1 register indicates the frequency. Both A1 and B1 registers are double-buffered to
allow smooth signal generation when changing the registers values on the fly. This mode supports 0% and
100% duty cycles.
0x001000
0x000000
Time
Output Flip-Flop
A1 Value
1
B1 Value
B2 Value
2
0x000900
0x000900
0x001000
0x001000
0x000200
0x000900
Notes: 1. EMIOS_CADR[n] = A1
0x000200
0x001000
0x000900
0x000200
MODE[6] = 0
EMIOS_CCNTR[n]
A1 Match
A2 & B2
Write
B1 Match
B1 Match
A1 Match
B2
Write
0x000200
2. EMIOS_CBDR[n] = B2
A2 = A1according to OU[n] bit
B2 = B1according to OU[n] bit
Internal Counter
0x000900
0xxxxxxx
0x001000
0x000200
0x001000
0x000900
0x000200
0x001000
0x000200
0x001000
0x000200
0x000900
0x001000
0x000000
Time
Output Flip-Flop
A1 Value
1
B1 Value
B2 Value
2
0x000900
Notes: 1. EMIOS_CADR[n] = A1
MODE[6] = 1
A1 Match
A2 & B2
Write
B1 Match
B2
Write
0x000200
2. EMIOS_CBDR[n] = B2
A2 = A1according to OU[n] bit
B2 = B1according to OU[n] bit
A1 Match
A1 Match
B1 Match
B1 Match
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...