TPU3: alternate PTA and DIO
<[email protected]> Thu, 7 Dec 2006 15:55:47 -0500
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <631DE9E22D35CE409D3AD884433621260E7D3424@galmismb02.napa.ad.etn.com> |
I am using PTA to measure a signal's period. No problem. If there is not a transition within X ms I need to check if it is high or low. I am trying to switch, in that case, to the DIO input function. All I get for PIN_LEVEL is 0x0000. (My DIO input works fine by itself.) Is there some magic to switching functions? I set CP=0 and HSR=0 before setting up the DIO. Steve