Fix misspellings using codespell tool

This commit is contained in:
Anatol Pomozov
2015-12-11 08:46:44 -08:00
parent 20e1ee174d
commit ae41782e1a
25 changed files with 31 additions and 31 deletions

View File

@@ -27,7 +27,7 @@
* benchmarking performance of the code. If function fails, the cycle counter
* isn't available on this architecture.
*
* @returnd true, if success
* @return true, if success
*/
bool dwt_enable_cycle_counter(void)
{

View File

@@ -502,7 +502,7 @@ void gpio_toggle(uint32_t gpioport, uint8_t gpios)
* serviced_irq |= GPIO4;
* }
*
* // Clear the interupt flag for the processed IRQs
* // Clear the interrupt flag for the processed IRQs
* gpio_clear_interrupt_flag(GPIOF, serviced_irqs);
* }
* @endcode

View File

@@ -92,7 +92,7 @@ Alexandru Gagniuc <mr.nuke.me@gmail.com>
* internal 16MHz oscillator.
*
* High-level routines update the system clock automatically.
* For read access, it is recommended to acces this variable via
* For read access, it is recommended to access this variable via
* @code
* rcc_get_system_clock_frequency();
* @endcode

View File

@@ -256,7 +256,7 @@ void uart_clock_from_sysclk(uint32_t uart)
*
* \brief <b>Sending and receiving data through the UART</b>
*
* Primitives for sending and recieving data are provided, @ref uart_send() and
* Primitives for sending and receiving data are provided, @ref uart_send() and
* @ref uart_recv(). These primitives do not check if data can be transmitted
* or wait for data. If waiting until data is available or can be transmitted is
* desired, blocking primitives are also available, @ref uart_send_blocking()
@@ -407,7 +407,7 @@ uint16_t uart_recv_blocking(uint32_t uart)
* serviced_irq |= UART_INT_CTS;
* }
*
* // Clear the interupt flag for the processed IRQs
* // Clear the interrupt flag for the processed IRQs
* uart_clear_interrupt_flag(UART0, serviced_irqs);
* }
* @endcode

View File

@@ -93,7 +93,7 @@ void crypto_set_datatype(enum crypto_datatype datatype)
}
/**
* @brief Set the algoritm for Encryption/decryption
* @brief Set the algorithm for Encryption/decryption
*
*@param[in] mode enum crypto_mode Mode of execution
*/

View File

@@ -236,7 +236,7 @@ After the number of bytes/words to be transferred has been completed, the
original transfer block size, memory and peripheral base addresses are
reloaded and the process repeats.
@note This cannot be used with memory to memory mode, which is explictly
@note This cannot be used with memory to memory mode, which is explicitly
disabled here.
@param[in] dma unsigned int32. DMA controller base address: DMA1 or DMA2

View File

@@ -164,7 +164,7 @@ uint8_t st_usbfs_ep_stall_get(usbd_device *dev, uint8_t addr)
void st_usbfs_ep_nak_set(usbd_device *dev, uint8_t addr, uint8_t nak)
{
(void)dev;
/* It does not make sence to force NAK on IN endpoints. */
/* It does not make sense to force NAK on IN endpoints. */
if (addr & 0x80) {
return;
}

View File

@@ -64,7 +64,7 @@ void usart_set_baudrate(uint32_t usart, uint32_t baud)
/*
* Yes it is as simple as that. The reference manual is
* talking about fractional calculation but it seems to be only
* marketting babble to sound awesome. It is nothing else but a
* marketing babble to sound awesome. It is nothing else but a
* simple divider to generate the correct baudrate.
*
* Note: We round() the value rather than floor()ing it, for more

View File

@@ -145,7 +145,7 @@ void adc_disable_discontinuous_mode(uint32_t adc)
/*---------------------------------------------------------------------------*/
/** @brief ADC Set conversion operation mode
*
* @note on SEQUENTIAL mode, the trigger event is neccesary to start conversion.
* @note on SEQUENTIAL mode, the trigger event is necessary to start conversion.
* @par
*
* @param[in] adc Unsigned int32. ADC base address (@ref adc_reg_base)

View File

@@ -102,7 +102,7 @@ static void efm32lg_ep_setup(usbd_device *usbd_dev, uint8_t addr, uint8_t type,
{
/*
* Configure endpoint address and type. Allocate FIFO memory for
* endpoint. Install callback funciton.
* endpoint. Install callback function.
*/
uint8_t dir = addr & 0x80;
addr &= 0x7f;

View File

@@ -44,7 +44,7 @@ void stm32fx07_ep_setup(usbd_device *usbd_dev, uint8_t addr, uint8_t type,
{
/*
* Configure endpoint address and type. Allocate FIFO memory for
* endpoint. Install callback funciton.
* endpoint. Install callback function.
*/
uint8_t dir = addr & 0x80;
addr &= 0x7f;
@@ -179,7 +179,7 @@ uint8_t stm32fx07_ep_stall_get(usbd_device *usbd_dev, uint8_t addr)
void stm32fx07_ep_nak_set(usbd_device *usbd_dev, uint8_t addr, uint8_t nak)
{
/* It does not make sence to force NAK on IN endpoints. */
/* It does not make sense to force NAK on IN endpoints. */
if (addr & 0x80) {
return;
}

View File

@@ -193,7 +193,7 @@ static int usb_standard_get_descriptor(usbd_device *usbd_dev,
return USBD_REQ_NOTSUPP;
}
/* Ths string is returned as UTF16, hence the
/* This string is returned as UTF16, hence the
* multiplication
*/
sd->bLength = strlen(usbd_dev->strings[array_idx]) * 2 +