This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Addressing 8255

Hi,

I have a Philips RD2 board with a memory mapped 8255 with ports A at 8000H, B at 8001H, C at 8002H and a control port at 8003H.

How do I set up my defines so that I can just refer to these memory mapped ports as PORTA, CTRLPRT etc. in a C program?

Muz

Parents
  • Hi Erik,

    Thanks for the reply.

    Ah, I see. It's a RD and WR signal timing issue. Well the 8255's are on a commercially produced development board that I'm helpng a friend get started with. I guess they have any hardware signal timing issues sorted out in the design, so I won't bother with software delays then.

    Muz.

Reply
  • Hi Erik,

    Thanks for the reply.

    Ah, I see. It's a RD and WR signal timing issue. Well the 8255's are on a commercially produced development board that I'm helpng a friend get started with. I guess they have any hardware signal timing issues sorted out in the design, so I won't bother with software delays then.

    Muz.

Children
No data