??? 08/08/06 19:05 Read: times |
#121878 - Not bit addressable Responding to: ???'s previous message |
Matthew Barlage said:
I am using a uPSD3354DV. I am using several pins on port C as general I/O pins. My question is, can these pins be bit addressable like port 1/3/4. Nope. I understand the use use of the control/direction/data_in/data_out resgisters for the PSD I/O's. I just don't understand how to assign a variable to a pin on port B/C/D. See above. You don't assign a variable unless you use bitfields (which nobody in their right mind would use). Use #define for pins' port bit masks and use standard byte-wide accesses and bitwise operations for set/clear. |
Topic | Author | Date |
Question on PSD Ports on ST uPSD33xx | 01/01/70 00:00 | |
It\'s in thw datasheet | 01/01/70 00:00 | |
Not bit addressable | 01/01/70 00:00 | |
external memory-mapped![]() | 01/01/70 00:00 |