| (0,An,~An,1) & (0,Bn,~Bn,1) & (0,Cn,~Cn,1) & (0,Dn,~Dn,1)// product term 2
| (0,An,~An,1) & (0,Bn,~Bn,1) & (0,Cn,~Cn,1) & (0,Dn,~Dn,1)// product term 3
where each selected input term in each product term can be configured to produce a
logical 0 or 1 or pass the true or complement of the selected event input. Each product
term uses eight bits of configuration information, two bits for each of the four selected
event inputs. The actual boolean expression implemented in each channel is:
EVENTn
= (PT0_AC[0] & A | PT0_AC[1] & ~A)// product term 0
& (PT0_BC[0] & B | PTO_BC[1] & ~B)
& (PT0_CC[0] & C | PTO_CC[1] & ~C)
& (PT0_DC[0] & D | PTO_DC[1] & ~D)
| (PT1_AC[0] & A | PT1_AC[1] & ~A)// product term 1
& (PT1_BC[0] & B | PT1_BC[1] & ~B)
& (PT1_CC[0] & C | PT1_CC[1] & ~C)
& (PT1_DC[0] & D | PT1_DC[1] & ~D)
| (PT2_AC[0] & A | PT2_AC[1] & ~A)// product term 2
& (PT2_BC[0] & B | PT2_BC[1] & ~B)
& (PT2_CC[0] & C | PT2_CC[1] & ~C)
& (PT2_DC[0] & D | PT2_DC[1] & ~D)
| (PT3_AC[0] & A | PT3_AC[1] & ~A)// product term 3
& (PT3_BC[0] & B | PT3_BC[1] & ~B)
& (PT3_CC[0] & C | PT3_CC[1] & ~C)
& (PT3_DC[0] & D | PT3_DC[1] & ~D)
where the bits of the combined {BFECRT01n,BFCRT23n} registers correspond to the
PT{0-3}_{A,B,C,D}C[1:0]
terms in the equation.
Consider the settings of the combined 32-bit {BFECRT01n,BFCRT23n} registers for
several simple boolean expressions as shown in
.
Table 28-13. IEVENT_BFECRn Values for Simple Boolean
Expressions
Event Output
Expression
PT0
PT1
PT2
PT3
{BFCRT01, BFCRT23}
A & B
A & B
0
0
0
01011111_00000000_00000000_00000000
A & B & C
A & B & C
0
0
0
01010111_00000000_00000000_00000000
(A & B & C) + D
A & B & C
D
0
0
01010111_11111101_00000000_00000000
A + B + C + D
A
B
C
D
01111111_11011111_11110111_11111101
(A & ~B) + (~A & B)
A & ~B
~A & B
0
0
01101111_10011111_00000000_00000000
As can be seen in these examples, the resulting logic provides a simple yet powerful
boolean function evaluation for defining an event output.
Chapter 28 Crossbar AND/OR/INVERT (AOI) Module
KV4x Reference Manual, Rev. 2, 02/2015
Freescale Semiconductor, Inc.
Preliminary
531
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...