LPC810_CodeBase
LPC810_CodeBase copied to clipboard
Open source code base for the ARM Cortex M0+ LPC810 family from NXP
gcc_startup_lpc8xx.c: In function 'ResetISR': gcc_startup_lpc8xx.c:177:5: warning: implicit declaration of function 'main' [-Wimplicit-function-declaration] main(); ^~~~
While i was debugging some code, i noticed LPC_MRT->IRQ_FLAG always returned 0. I found the solution at https://www.lpcware.com/content/forum/lpcmrt-irqflag-address-wrong ## **lpc8xx.h in CMSIS** In LPC_MRT_TypeDef struct, change **Reserved0[1]** into **Reserved0[45]** ```...
This demonstrates how to setup a pwm signal by flashing the LED. The ISP-button is used to change the duty cycle.