delay.h 467 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-05-07 Meco Man first Version
  9. */
  10. #ifndef __DELAY_H__
  11. #define __DELAY_H__
  12. unsigned int sleep(unsigned int seconds);
  13. void msleep(unsigned int msecs);
  14. void ssleep(unsigned int seconds);
  15. void mdelay(unsigned long msecs);
  16. void udelay(unsigned long usecs);
  17. void ndelay(unsigned long nsecs);
  18. #endif