This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
[LPC1766] Access to GPIO registers
- From: EnneGi <enricogiordano1992 at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 24 Mar 2013 05:18:00 -0700 (PDT)
- Subject: [LPC1766] Access to GPIO registers
Hi all, I want to write in a register of my board (lpc1768) using ecos for
lpc1766. It's right that I use HAL_WRITE_UINT32(register, value) for it?
According to the datasheet, I must write in an address (0x400...) the value
0xFFFF in order to reset the GPIO; it's the right way?
This is for gpio drivers, because I want to reproduce the behaviour of my
firmware (setting the GPIO writing in register of GPIO).
Thanks!
--
View this message in context: http://sourceware-org.1504.n7.nabble.com/LPC1766-Access-to-GPIO-registers-tp226305.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss