PortC can be read/write. What you mean that?IanP said:If you need something faster than I2C take a look at the 82C55 PIA; this device is connected to a microcontroller via the multiplexed address/data bus (Port 0 in 8051) and can be accessed reasonably fast ..
Some of it's pins (Port C) can be read/write directly - within one instruction.
Help said:Hi,
Which's mean the A0 and A1 connect to 74373 Q0 and Q1? and the Q0 and Q1 is control by Enable pin, then the Enable is control by ALE signal from 8051, right?
Thank You.
IanP said:The ALE signal latches (on the falling edge) whatever is on PORT0 during S5 (see picture below) and what is there are the addresses A0-A7 ..
IanP said:During External Data Memory Read Cycle its rising edge is between P1 and P2 in S4 and its falling edge is between P1 and P2 in S5 ..
#asm
MOV R0, #00h ; address of pot A =00h, port B = 01h and port C = 02h
MOVX A, @R0
#endasm
IanP said:#asm
..
#endasm
The above sequence is C structure ..
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?