lpcware

how to read/write the port pins of LPC1788 with uclinux

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by amar on Thu Mar 21 21:58:55 MST 2013

I am new for the linux device drivers please help me....

how to read and write to a port pins of the LPC1788 cortex-m3 processor pin..? I have done hello word device driver but now I want to access the port pins and read/write the port pins to control some hardware device with my controller.

suppose i want to blink an LED at some particular port pin of the hardware, how to achieve this and what all the changes need to made in file system.

please explain me in detail.

Outcomes