@@ -30,7 +30,7 @@ namespace mbed {
30
30
*
31
31
* Example:
32
32
* @code
33
- * // Count the time to toggle a LED
33
+ * // Count the time to toggle an LED
34
34
*
35
35
* #include "mbed.h"
36
36
*
@@ -75,23 +75,23 @@ class Timer : private NonCopyable<Timer> {
75
75
*/
76
76
float read ();
77
77
78
- /* * Get the time passed in milli-seconds
78
+ /* * Get the time passed in milliseconds
79
79
*
80
- * @returns Time passed in milli seconds
80
+ * @returns Time passed in milliseconds
81
81
*/
82
82
int read_ms ();
83
83
84
- /* * Get the time passed in micro-seconds
84
+ /* * Get the time passed in microseconds
85
85
*
86
- * @returns Time passed in micro seconds
86
+ * @returns Time passed in microseconds
87
87
*/
88
88
int read_us ();
89
89
90
90
/* * An operator shorthand for read()
91
91
*/
92
92
operator float ();
93
93
94
- /* * Get in a high resolution type the time passed in micro-seconds .
94
+ /* * Get in a high resolution type the time passed in microseconds .
95
95
* Returns a 64 bit integer.
96
96
*/
97
97
us_timestamp_t read_high_resolution_us ();
@@ -103,7 +103,7 @@ class Timer : private NonCopyable<Timer> {
103
103
us_timestamp_t _start; // the start time of the latest slice
104
104
us_timestamp_t _time; // any accumulated time from previous slices
105
105
const ticker_data_t *_ticker_data;
106
- bool _lock_deepsleep; // flag which indicates if deep- sleep should be disabled
106
+ bool _lock_deepsleep; // flag that indicates if deep sleep should be disabled
107
107
};
108
108
#endif
109
109
0 commit comments