Spell check library source code files.
This commit is contained in:
parent
6d2a08f1b7
commit
f01a05415c
46 changed files with 72 additions and 72 deletions
|
@ -53,7 +53,7 @@
|
|||
* application.
|
||||
*
|
||||
* \code
|
||||
* // Initialise the ADC driver before first use
|
||||
* // Initialize the ADC driver before first use
|
||||
* ADC_Init(ADC_FREE_RUNNING | ADC_PRESCALE_32);
|
||||
*
|
||||
* // Must setup the ADC channel to read beforehand
|
||||
|
@ -411,7 +411,7 @@
|
|||
return ADC_GetResult();
|
||||
}
|
||||
|
||||
/** Initialises the ADC, ready for conversions. This must be called before any other ADC operations.
|
||||
/** Initializes the ADC, ready for conversions. This must be called before any other ADC operations.
|
||||
* The "mode" parameter should be a mask comprised of a conversion mode (free running or single) and
|
||||
* prescaler masks.
|
||||
*
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
* application.
|
||||
*
|
||||
* \code
|
||||
* // Initialise the SPI driver before first use
|
||||
* // Initialize the SPI driver before first use
|
||||
* SPI_Init(SPI_SPEED_FCPU_DIV_2 | SPI_ORDER_MSB_FIRST | SPI_SCK_LEAD_FALLING |
|
||||
* SPI_SAMPLE_TRAILING | SPI_MODE_MASTER);
|
||||
*
|
||||
|
@ -159,7 +159,7 @@
|
|||
//@}
|
||||
|
||||
/* Inline Functions: */
|
||||
/** Initialises the SPI subsystem, ready for transfers. Must be called before calling any other
|
||||
/** Initializes the SPI subsystem, ready for transfers. Must be called before calling any other
|
||||
* SPI routines.
|
||||
*
|
||||
* \param[in] SPIOptions SPI Options, a mask consisting of one of each of the \c SPI_SPEED_*,
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
* application.
|
||||
*
|
||||
* \code
|
||||
* // Initialise the serial USART driver before first use, with 9600 baud (and no double-speed mode)
|
||||
* // Initialize the serial USART driver before first use, with 9600 baud (and no double-speed mode)
|
||||
* Serial_Init(9600, false);
|
||||
*
|
||||
* // Send a string through the USART
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
*
|
||||
* <b>Low Level API Example:</b>
|
||||
* \code
|
||||
* // Initialise the TWI driver before first use
|
||||
* // Initialize the TWI driver before first use
|
||||
* TWI_Init(TWI_BIT_PRESCALE_1, 10);
|
||||
*
|
||||
* // Start a write session to device at device address 0xA0, internal address 0xDC with a 10ms timeout
|
||||
|
@ -91,7 +91,7 @@
|
|||
*
|
||||
* <b>High Level API Example:</b>
|
||||
* \code
|
||||
* // Initialise the TWI driver before first use
|
||||
* // Initialize the TWI driver before first use
|
||||
* TWI_Init(TWI_BIT_PRESCALE_1, 10);
|
||||
*
|
||||
* // Start a write session to device at device address 0xA0, internal address 0xDC with a 10ms timeout
|
||||
|
@ -171,7 +171,7 @@
|
|||
/** Enum for the possible return codes of the TWI transfer start routine and other dependant TWI functions. */
|
||||
enum TWI_ErrorCodes_t
|
||||
{
|
||||
TWI_ERROR_NoError = 0, /**< Indicates that the command completed sucessfully. */
|
||||
TWI_ERROR_NoError = 0, /**< Indicates that the command completed successfully. */
|
||||
TWI_ERROR_BusFault = 1, /**< A TWI bus fault occurred while attempting to capture the bus. */
|
||||
TWI_ERROR_BusCaptureTimeout = 2, /**< A timeout occurred whilst waiting for the bus to be ready. */
|
||||
TWI_ERROR_SlaveResponseTimeout = 3, /**< No ACK received at the nominated slave address within the timeout period. */
|
||||
|
@ -180,7 +180,7 @@
|
|||
};
|
||||
|
||||
/* Inline Functions: */
|
||||
/** Initialises the TWI hardware into master mode, ready for data transmission and reception. This must be
|
||||
/** Initializes the TWI hardware into master mode, ready for data transmission and reception. This must be
|
||||
* before any other TWI operations.
|
||||
*
|
||||
* The generated SCL frequency will be according to the formula <pre>F_CPU / (16 + 2 * BitLength + 4 ^ Prescale)</pre>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue