Hi, I am using StopWatch_DelayUs API to make delay in LPC1830 MCU application.
I use 5us delay, but the measure is ~120us ( to use GPIO high low), it seems this API is not correct.
But if I use the lpc_chip_18xx StopWatch_DelayMs to make "5ms" delay. After measure confirm, it is correct.

Why does the StopWatch_DelayUs not work?
Does LPC1830 not support Us delay?
BTW: my application is debug mode, should I use "release" mode? Does it improve the application performance?
Thanks
Ken