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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/25/08 18:58
Read: times


 
#151436 - what about the "user manual'
Responding to: ???'s previous message
but looking through the datasheet reveals no

Phi eh NXP divides the information between a device datasheet and a fsmily user manual.

the user manual which it is essential for you to have reveal
Table 24: Port output configuration settings
PxM1.y PxM2.y Port output mode
0      0      Quasi-bidirectional
0      1      Push-pull
1      0      Input only (high-impedance)
1      1      Open drain
Erik

PS
if you define the port pins by names (which I do hope you do) I suggest that you do something like this in the module defining the names

P0pp = (x + y + z) ; ports pushpull or open drain
P0i0 = ( a + c + z); ports input only or open drain

and then in the init code

P0M1 = P0pp
P0M2 = P0od

I find that so uch easier to spot errors in than

P0M1=0x8a;
P0M2=0x45;




List of 8 messages in thread
TopicAuthorDate
Port I/O programming for 89LPC935 and others            01/01/70 00:00      
   Is this enough info/hint            01/01/70 00:00      
      Still ????            01/01/70 00:00      
         this is NOT a 'standard '51            01/01/70 00:00      
         That's why it's so unhelpful!            01/01/70 00:00      
   what about the "user manual'            01/01/70 00:00      
       ....            01/01/70 00:00      
   Quasi-bidirectional            01/01/70 00:00      

Back to Subject List