- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/platform/mbed_wait_api.h
r352 r374 2 2 /** \addtogroup platform */ 3 3 /** @{*/ 4 /** 5 * \defgroup platform_wait_api wait_api functions 6 * @{ 7 */ 8 4 9 /* mbed Microcontroller Library 5 10 * Copyright (c) 2006-2013 ARM Limited … … 42 47 * } 43 48 * } 49 * @endcode 44 50 */ 45 51 … … 48 54 * 49 55 * @param s number of seconds to wait 56 * 57 * @note 58 * If the RTOS is present, this function always spins to get the exact number of microseconds, 59 * which potentially affects power (such as preventing deep sleep) and multithread performance. 60 * You can avoid it by using Thread::wait(). 50 61 */ 51 62 void wait(float s); … … 54 65 * 55 66 * @param ms the whole number of milliseconds to wait 67 * 68 * @note 69 * If the RTOS is present, this function always spins to get the exact number of microseconds, 70 * which potentially affects power (such as preventing deep sleep) and multithread performance. 71 * You can avoid it by using Thread::wait(). 56 72 */ 57 73 void wait_ms(int ms); … … 60 76 * 61 77 * @param us the whole number of microseconds to wait 78 * 79 * @note 80 * If the RTOS is present, this function always spins to get the exact number of microseconds, 81 * which potentially affects power (such as preventing deep sleep) and multithread performance. 62 82 */ 63 83 void wait_us(int us); … … 70 90 71 91 /** @}*/ 92 /** @}*/
Note:
See TracChangeset
for help on using the changeset viewer.