
Enhanced Modular Input/Output Subsystem (eMIOS200)
PXN20 Microcontroller Reference Manual, Rev. 1
28-28
Freescale Semiconductor
The input pulse period is calculated by subtracting the value in B1 from A2.
shows how the unified channel can be used for input period measurement.
Figure 28-22. Input Period Measurement Example
shows the A1 and B1 register updates when EMIOS_CADR[
n
] and EMIOS_CBDR[
n
] read
operations are performed. When EMIOS_CADR[
n
] read occurs, the content of A1 is transferred to B1 thus
providing coherent data in A2 and B1 registers. Transfers from B2 to B1 are then blocked until
EMIOS_CBDR[
n
] is read. After EMIOS_CBDR[
n
] is read, register A1 content is transferred to register
B1 and the transfers from B2 to B1 are re-enabled to occur at the transfer edges, which is the leading edge
in the
example.
Figure 28-23. A1 and B1 Updates at EMIOS_CADR[n] and EMIOS_CBDR[n] Reads
0x000500
0x001000
0x001100
0x001250
0x001525
0x0016A0
Selected
Counter Bus
FLAG
Set Event
A
A2 (Captured)
Value
2
0xxxxxxx
0x001000
0x001250
0x0016A0
Notes:
1
After input filter
2
EMIOS_CADR[
n
] = A2
Input Signal
1
EDPOL = 1
A
A
B1 Value
3
0xxxxxxx
0xxxxxxx
0x001000
0x001250
0xxxxxxx
0x001000
0x001250
0x0016A0
B2 (Captured)
Value
3
EMIOS_CBDR[
n
] = B1
0xxxxxxx
0xxxxxxx
0x001000
0x001250
A1 Value
0x000500
0x001000
0x001100
0x001250
0x001525
0x0016A0
Selected
Counter Bus
FLAG
Set Event
A
A
A
A2 (Captured)
Value
2
0xxxxxxx
Notes:
1
After input filter
2
EMIOS_CADR[
n
] = A2
Input Signal
1
EDPOL = 1
B1 Value
3
0x001525
0xxxxxxx
0xxxxxxx
0x001000
0x001250
0x0016A0
B2 (Captured)
Value
3
EMIOS_CBDR[
n
] = B1
0xxxxxxx
0x001250
A1 Value
0x001000
Read EMIOS_CADR[
n
]
Read EMIOS_CBDR[
n
]
0x001100
0x001250
0x001000
0x001000
0x001250
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...