Hi,
I am using LPCxpresso54628 development board. I have tested the example programs and are working fine.
I face difficulty to write my own program in accessing registers. I don't know how to access each bit of a register. I am using LPC54628.h header file which i got with xpresso sdk package. I need an led toggle program. Suggest me if some other header files is available.
Can any one help me with this.
Thanks in advance.
Hello padma priya ,
Please refer to the gpio_led_output demo under SDK.
There is gpio drivers you can use to control GPIO( for example GPIO_PortSet(), GPIO_PortClear(),GPIO_PortToggle() and so on. )
If you want to directly config registers, you can refer to the drivers, for example, config the " GPIO port toggle registers":
Hope it helps,
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------