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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/05/00 06:22
Read: times


 
#4891 - RE: Problem with Winbond 78E52
Hi Krasik,

There is the short description of the port4 access and an example. Look at www.winbond.com/tw/sheet/w78e52b.pdf for more details.

Another bit-addressable port P4 is also available and only 4 bits (P4<3:0>) can be used. This port
address is located at 0D8H with the same function as that of port P1, except the P4.3 and P4.2 are
alternative function pins. It can be used as general I/O pins or external interrupt input sources (INT2 ,
INT3 ).
Example:
P4 REG 0D8H
MOV P4, #0AH ; Output data "A" through P4.0-P4.3.
MOV A, P4 ; Read P4 status to Accumulator.
SETB P4.0 ; Set bit P4.0
CLR P4.1 ; Clear bit P4.1


List of 7 messages in thread
TopicAuthorDate
Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      

Back to Subject List