public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] [LPC1766] Access to GPIO registers
@ 2013-03-24 12:18 EnneGi
  0 siblings, 0 replies; only message in thread
From: EnneGi @ 2013-03-24 12:18 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-24 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-24 12:18 [ECOS] [LPC1766] Access to GPIO registers EnneGi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).