Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Writing 8 bits on the IO port

2005-04-18 by acetoel

Hello,

I making a little protocol to interfase between a LPC2106 and an Atmel
8bits MCU. My idea is to use an 8bit data bus (P0.14 to P0.21) for
sending and receiving bytes, and then a few control lines (Busy/Ready,
Clock, Enable, Command/Data). 
How can I write a byte variable (char) to that 8bit port? and how can
I read that data port, and save it on a variable? being P0.14 is the
Least Significative bit.

Thanks
Kimi

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.