Content originally posted in LPCWare by pgr on Fri Jan 30 03:31:47 MST 2015
Dear all,
Just found a small issue in the function Chip_SYSCTL_EnablePeriphWakeup in file syscon_8xx.h
was
LPC_SYSCTL->STARTERP1 = periphmask | (LPC_SYSCTL->STARTERP0 & ~SYSCTL_STARTERP0_RESERVED);
should be
LPC_SYSCTL->STARTERP1 = periphmask | (LPC_SYSCTL->STARTERP1 & ~SYSCTL_STARTERP1_RESERVED);
Best regards