??? 03/06/09 11:20 Read: times |
#163151 - A typo on my part Responding to: ???'s previous message |
It should have read "compilers".
The "normal" way of writing to a 32 bit port is using the 32bit IOSET and IOCLR registers. If you look at the generated code, it seems a lot neater. However the ARM does support byte addressing, and you can quite happily use char pointers. As you can see, you can also write directly to a section of the port. I believe that other manufacturers have different port access procedures. But I would guess they all get to the same result. David. |