Fix a few typos

This commit is contained in:
Gregory Nutt 2014-10-10 11:41:40 -06:00
parent afa548a1bc
commit d55d30b202
2 changed files with 18 additions and 18 deletions

View File

@ -67,7 +67,7 @@
*
* 1000 * IWDG_RLR_MAX / Fmin
*
* For example, if Flsi = 30Khz (the nominal, uncalibrathed value), then the
* For example, if Flsi = 30Khz (the nominal, uncalibrated value), then the
* maximum delay is:
*
* Fmin = 117.1875
@ -205,7 +205,7 @@ static uint16_t stm32_getreg(uint32_t addr)
uint16_t val = getreg16(addr);
/* Is this the same value that we read from the same registe last time? Are
/* Is this the same value that we read from the same register last time? Are
* we polling the register? If so, suppress some of the output.
*/
@ -279,7 +279,7 @@ static void stm32_putreg(uint16_t val, uint32_t addr)
* Input Parameters:
* priv - A pointer the internal representation of the "lower-half"
* driver state structure.
* timeout - The new timeout value in millisecnds.
* timeout - The new timeout value in milliseconds.
*
* Returned Values:
* Zero on success; a negated errno value on failure.
@ -401,7 +401,7 @@ static int stm32_stop(FAR struct watchdog_lowerhalf_s *lower)
* Description:
* Reset the watchdog timer to the current timeout value, prevent any
* imminent watchdog timeouts. This is sometimes referred as "pinging"
* the atchdog timer or "petting the dog".
* the watchdog timer or "petting the dog".
*
* Input Parameters:
* lower - A pointer the publicly visible representation of the "lower-half"
@ -438,7 +438,7 @@ static int stm32_keepalive(FAR struct watchdog_lowerhalf_s *lower)
* Input Parameters:
* lower - A pointer the publicly visible representation of the "lower-half"
* driver state structure.
* stawtus - The location to return the watchdog status information.
* status - The location to return the watchdog status information.
*
* Returned Values:
* Zero on success; a negated errno value on failure.
@ -497,7 +497,7 @@ static int stm32_getstatus(FAR struct watchdog_lowerhalf_s *lower,
* Input Parameters:
* lower - A pointer the publicly visible representation of the "lower-half"
* driver state structure.
* timeout - The new timeout value in millisecnds.
* timeout - The new timeout value in milliseconds.
*
* Returned Values:
* Zero on success; a negated errno value on failure.
@ -577,7 +577,7 @@ static int stm32_settimeout(FAR struct watchdog_lowerhalf_s *lower,
if (reload <= IWDG_RLR_MAX || prescaler == 6)
{
/* Note that we explicity break out of the loop rather than using
/* Note that we explicitly break out of the loop rather than using
* the 'for' loop termination logic because we do not want the
* value of prescaler to be incremented.
*/

View File

@ -391,7 +391,7 @@ static int stm32_stop(FAR struct watchdog_lowerhalf_s *lower)
* Description:
* Reset the watchdog timer to the current timeout value, prevent any
* imminent watchdog timeouts. This is sometimes referred as "pinging"
* the atchdog timer or "petting the dog".
* the watchdog timer or "petting the dog".
*
* The application program must write in the WWDG_CR register at regular
* intervals during normal operation to prevent an MCU reset. This operation
@ -432,7 +432,7 @@ static int stm32_keepalive(FAR struct watchdog_lowerhalf_s *lower)
* Input Parameters:
* lower - A pointer the publicly visible representation of the "lower-half"
* driver state structure.
* stawtus - The location to return the watchdog status information.
* status - The location to return the watchdog status information.
*
* Returned Values:
* Zero on success; a negated errno value on failure.
@ -486,9 +486,9 @@ static int stm32_getstatus(FAR struct watchdog_lowerhalf_s *lower,
* Set a new timeout value (and reset the watchdog timer)
*
* Input Parameters:
* lower - A pointer the publicly visible representation of the "lower-half"
* driver state structure.
* timeout - The new timeout value in millisecnds.
* lower - A pointer the publicly visible representation of the
* "lower-half" driver state structure.
* timeout - The new timeout value in milliseconds.
*
* Returned Values:
* Zero on success; a negated errno value on failure.
@ -565,7 +565,7 @@ static int stm32_settimeout(FAR struct watchdog_lowerhalf_s *lower,
#endif
if (reload <= WWDG_CR_T_MAX || wdgtb == 3)
{
/* Note that we explicity break out of the loop rather than using
/* Note that we explicitly break out of the loop rather than using
* the 'for' loop termination logic because we do not want the
* value of wdgtb to be incremented.
*/
@ -689,7 +689,7 @@ static xcpt_t stm32_capture(FAR struct watchdog_lowerhalf_s *lower,
* Input Parameters:
* lower - A pointer the publicly visible representation of the "lower-half"
* driver state structure.
* cmd - The ioctol command value
* cmd - The ioctl command value
* arg - The optional argument that accompanies the 'cmd'. The
* interpretation of this argument depends on the particular
* command.