Skip to content

Commit 648eb39

Browse files
author
Amanda Butler
authored
Copy edit Timer.h
Copy edit existing text for minor grammar issues.
1 parent 615ae0b commit 648eb39

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/Timer.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace mbed {
3030
*
3131
* Example:
3232
* @code
33-
* // Count the time to toggle a LED
33+
* // Count the time to toggle an LED
3434
*
3535
* #include "mbed.h"
3636
*
@@ -75,23 +75,23 @@ class Timer : private NonCopyable<Timer> {
7575
*/
7676
float read();
7777

78-
/** Get the time passed in milli-seconds
78+
/** Get the time passed in milliseconds
7979
*
80-
* @returns Time passed in milli seconds
80+
* @returns Time passed in milliseconds
8181
*/
8282
int read_ms();
8383

84-
/** Get the time passed in micro-seconds
84+
/** Get the time passed in microseconds
8585
*
86-
* @returns Time passed in micro seconds
86+
* @returns Time passed in microseconds
8787
*/
8888
int read_us();
8989

9090
/** An operator shorthand for read()
9191
*/
9292
operator float();
9393

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.
9595
* Returns a 64 bit integer.
9696
*/
9797
us_timestamp_t read_high_resolution_us();
@@ -103,7 +103,7 @@ class Timer : private NonCopyable<Timer> {
103103
us_timestamp_t _start; // the start time of the latest slice
104104
us_timestamp_t _time; // any accumulated time from previous slices
105105
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
107107
};
108108
#endif
109109

0 commit comments

Comments
 (0)