Help:embedded programming for 8051 using 8255

Status
Not open for further replies.

logukalipal

Junior Member level 2
Joined
Jan 8, 2012
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Coimbatore, India
Activity points
1,476
I connected 8255 with 8051 in address of 4000H.
also connected keypad [4*4] in port c of 8255.
We can use port c of 8255 into 2 parts using to set control word to MODE0
1) PC0 - PC3
2) PC4 - PC7

While programming(Embedded C) how can i accessing the 2 parts of Port c individually?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…