contiguous bits on a port
Posted: Wed Feb 13, 2013 1:46 pm
>from the help line
>I am devising a new optical instrument with an LCD alpha-numeric display as the
user display. I ( I think) need to address the display as a byte with 3 more
lines as control. Each time I look at the port numbers for the SuperPro LPC1756
I see port numbers missing! For example, I can see port 1 as 0,1,4,8,9,10,
etc... What about P1.2, or P1.3? How can I address a byte with a consecutive
set of port pins? I'm sure there's a solution I've overlooked, but can you
explain?
Port 2 has a contiguous set of bits P2(0)-P2(10)
As you state the other ports don't bring all the pins out. You'd have to ask
NXP why they chose the bits they did for that package.
>I am devising a new optical instrument with an LCD alpha-numeric display as the
user display. I ( I think) need to address the display as a byte with 3 more
lines as control. Each time I look at the port numbers for the SuperPro LPC1756
I see port numbers missing! For example, I can see port 1 as 0,1,4,8,9,10,
etc... What about P1.2, or P1.3? How can I address a byte with a consecutive
set of port pins? I'm sure there's a solution I've overlooked, but can you
explain?
Port 2 has a contiguous set of bits P2(0)-P2(10)
As you state the other ports don't bring all the pins out. You'd have to ask
NXP why they chose the bits they did for that package.