This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]