??? 06/29/05 00:16 Read: times |
#96147 - Not Like a PIC Responding to: ???'s previous message |
The Ports are "Quasi Bidirectional". No Data direction register like the PIC.
To use as inputs write 1's to the Port. As an output write 0 or 1. There is no input latch. You need to take care reading pins used as outputs (read-Modify-Write) if the output pin is doing some thing like driving a transistor. The read may not match the write. The Current drive is also less than a PIC. P0 is open drain, no internal pull ups. If you go into the derivatives your mileage may vary. |
Topic | Author | Date |
Starter has a question about AT89S52 | 01/01/70 00:00 | |
which 8051 derivative? | 01/01/70 00:00 | |
Keyboard... | 01/01/70 00:00 | |
it does | 01/01/70 00:00 | |
INt on pin level change | 01/01/70 00:00 | |
Derivative chip | 01/01/70 00:00 | |
Not Like a PIC | 01/01/70 00:00 | |
a conflict in previous posts![]() | 01/01/70 00:00 |