![Freescale Semiconductor MPC5604B Скачать руководство пользователя страница 41](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5604b/mpc5604b_quick-start-manual_2330604041.webp)
Edge Selection (EDSEL) bit: for input modes, this bit selects whether both edges are
triggering (‘1’) or a single edge defined by EDPOL (‘0’). For GPIO input mode, it selects if a
flag can be generated (‘1’: no flag is generated, ‘0’: it’s generated as defined by EDPOL). And
for SAOC mode, it selects if output flip-flop is toggled at each match (see the section below).
MODE field is used for mode selection as described in the table below.
Figure 46 : Channel Mode Selection (R.M. Rev8 – Table 24-21)
Another major register for a channel is the status register (EMIOS_CH[n]_CSR) containing the
flag bit (FLAG, write ‘1’ to clear), overrun bit (OVR: write ‘1’ to clear) which is set when a flag
generation occurs while FLAG was already set. Overflow bit (OVFL: write ‘1’ to clear) is set when
an overflow has occurred in the internal counter. Two read only fields allow getting the input
(UCIN) or output (UCOUT) state of the pin.
A 16-bit counter register (EMIOS_CH[n]_CCNTR) that contains the current value of the channel’s
internal counter.
And finally, there are three 16-bit data registers that will set the behaviour of the channel in a
particular mode of operation. eMIOS Unified Channel A register (EMIOS_CH[n]_CADR), eMIOS UC
B register (EMIOS_CH[n]_CBDR) and eMIOS Alternate A register (EMIOS_CH[n]_ALTCADR).
These three registers are used to read or write the four internal registers (A1; A2; B1; B2)
previously mentioned. The following table shows the value assignment of different modes.
Содержание MPC5604B
Страница 1: ...LAAS CNRS Quick Start to MPC5604B Embedded Development Sahin Serdar 21 06 2013...
Страница 31: ...Figure 33 INTC SW HW mode comparison Freescale Tutorial...
Страница 87: ......
Страница 132: ......
Страница 133: ...127 Appendix 2 Pad Configurations...
Страница 134: ......
Страница 135: ......
Страница 136: ......
Страница 137: ......
Страница 138: ......
Страница 139: ......
Страница 140: ......
Страница 141: ...Appendix 3 Peripheral input pin selection...
Страница 142: ......
Страница 143: ...137 Appendix 4 Interrupt Vector Table...
Страница 144: ......
Страница 145: ......
Страница 146: ......
Страница 147: ......
Страница 148: ...Appendix 5 I C Baud Rate Prescaler Values...
Страница 149: ......
Страница 150: ......