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_DelayHandler(void)
Processes the delay interrupt.
void MXC_DelayAbort(void)
Stops an asynchronous delay previously started.
void(* mxc_delay_complete_t)(int result)
The callback routine used by MXC_DelayAsync() when the delay is complete or aborted early...
Definition: mxc_delay.h:82
int MXC_Delay(unsigned long us)
Blocks and delays for the specified number of microseconds.
int MXC_DelayAsync(unsigned long us, mxc_delay_complete_t callback)
Starts a non-blocking delay for the specified number of microseconds.
int MXC_DelayCheck(void)
Returns the status of a non-blocking delay request.