Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/26/07 22:47
Read: times


 
#148752 - P3.0 config?
Responding to: ???'s previous message
Have you tried:

P3M1 &=~0x01;
P3M2 |=0x01;

I had to go to the LPC938 manual as the one for your chip does not explain the port control bit. The 952 manual does show the port configured as 'input only' on boot.
The two lines above config the port to push/pull output

Px1.y PxM2.y mode
0 0 Quasi-bidirectional
0 1 Push-Pull
1 0 Input only
1 1 Open Drain

List of 8 messages in thread
TopicAuthorDate
problem with CLKOUT with LPC952            01/01/70 00:00      
   Real-time clock            01/01/70 00:00      
      I am using internal RC for clock            01/01/70 00:00      
         P3.0 config?            01/01/70 00:00      
            it is configured as push pull..            01/01/70 00:00      
   never mind, its my mistake            01/01/70 00:00      
      that reminds me.            01/01/70 00:00      
         How evil            01/01/70 00:00      

Back to Subject List