Content originally posted in LPCWare by mc1992 on Wed Jan 27 09:35:44 MST 2016 Hello friends! I have a lpc4337 , it has a clock of 204Mhz and i'm programming in C language . How I can make a delay function in ms and us for this micro? Thanks!!
Content originally posted in LPCWare by sgstreet on Thu Jan 28 16:43:23 MST 2016 try this for gcc where SystemCoreClock is the CMSIS variable as set by the LPC startup code:
Content originally posted in LPCWare by rocketdawg on Wed Jan 27 12:12:10 MST 2016 you are going to spin-in-place a 204Mhz processor? Why not use a state machine and have a timer ISR call a CallBack function to change the state of the state machine.