When in GPIO input mode (MODE[0:6]=0000000), the input pin status can be read by UCIN bit
in the status register and a flag can be generated at on a rising or an falling edge. (Detection of
both edges isn’t implemented for GPIO).
In GPIO output mode (MODE[0:6]=0000001), the channel is used as a single output pin and the
value of EDPOL is transferred to the output flip-flop.
1.3.
SAIC: Single Action Input Capture
This is the Single Action Input Capture mode (MODE[0:6]=0000010), when a triggering event
on the input (a rising, falling or either edges) occurs, the flag bit is set and the value of the
selected counter bus is captured by A2 and can be read through the register A.
Figure 49 : SAIC with rising edge triggering example (R.M. Rev8 – Fig. 24-18)
1.4.
SAOC: Single Action Output Compare
This is the Single Action Output Compare mode (MODE[0:6]=0000011), a match value written
in the register A is written to A2 and transferred to A1 directly where it’s compared with the
selected time base (the BSL field of the control register). When a match occurs, the flag bit is set
and depending on EDSEL, either the output flip-flop is toggled or the value in EDPOL is
transferred to it.
At initialisation, the flip flop is set to the complement of EDPOL.
Figure 50 : SAOC with both possibilities on EDSEL (R.M. Rev8 – Fig. 24-20/21)
Summary of Contents for MPC5604B
Page 1: ...LAAS CNRS Quick Start to MPC5604B Embedded Development Sahin Serdar 21 06 2013...
Page 31: ...Figure 33 INTC SW HW mode comparison Freescale Tutorial...
Page 87: ......
Page 132: ......
Page 133: ...127 Appendix 2 Pad Configurations...
Page 134: ......
Page 135: ......
Page 136: ......
Page 137: ......
Page 138: ......
Page 139: ......
Page 140: ......
Page 141: ...Appendix 3 Peripheral input pin selection...
Page 142: ......
Page 143: ...137 Appendix 4 Interrupt Vector Table...
Page 144: ......
Page 145: ......
Page 146: ......
Page 147: ......
Page 148: ...Appendix 5 I C Baud Rate Prescaler Values...
Page 149: ......
Page 150: ......