60 #define MXC_DELAY_SEC(s) (((unsigned long)s) * 1000000UL) 67 #define MXC_DELAY_MSEC(ms) (ms * 1000UL) 74 #define MXC_DELAY_USEC(us) (us) void mxc_delay_handler(void)
Processes the delay interrupt.
int mxc_delay_start(unsigned long us)
Starts a non-blocking delay for the specified number of microseconds.
void mxc_delay_stop(void)
Stops an asynchronous delay previously started.
int mxc_delay_check(void)
Returns the status of a non-blocking delay request.
int mxc_delay(unsigned long us)
Blocks and delays for the specified number of microseconds.