--- In lpc2000@yahoogroups.com, "philips_apps" <philips_apps@y...> wrote:
> In case of the LPC2114/2124 part, the one you are working with, the
> IOPIN register described in the "Table 68: GPIO Register Map"
> ("LPC2114/2124/2212/2214 User Manual", page 110, February 03, 2004
> edition) refers to IOPIN as "GPIO Port Pin value register", and not
> to the "Port Pin value
" in general. More detailed description of
> the same register (page 111), starts with:
>
> "This register provides the value of the GPIO pins
"
>
> Therefore, IOPIN reflects any outside world influence on the GPIO
> configured pins only!
This may very well be the way the hardware works (and I will take
your word for it). But claiming that this is what the documentation
says is baloney. Try reading page 110. I quote (capitalized emphasis
is mine):
IOPIN: .... The current state of the port pins can always be read
from this register, REGARDLESS OF PIN DIRECTION OR MODE.
> This is the way all ports in Philips LPC2000 family of
> microcontrollers are designed to operate.
>
> Hope this clarifies the subject of GPIO pins.
It clarifies it for me. But that won't help the next person who
downloads the documentation, and believes it is accurate.
-bobMessage
Re: GPIO read bug fixed in 2114/2124?
2004-04-14 by bobbruce000
Attachments
- No local attachments were found for this message.