aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/adc.c18
-rw-r--r--os/hal/src/can.c14
-rw-r--r--os/hal/src/hal.c4
-rw-r--r--os/hal/src/mac.c22
-rw-r--r--os/hal/src/mmc_spi.c30
-rw-r--r--os/hal/src/pal.c4
-rw-r--r--os/hal/src/pwm.c10
-rw-r--r--os/hal/src/serial.c2
-rw-r--r--os/hal/src/spi.c12
9 files changed, 58 insertions, 58 deletions
diff --git a/os/hal/src/adc.c b/os/hal/src/adc.c
index dff7d828b..2a329d003 100644
--- a/os/hal/src/adc.c
+++ b/os/hal/src/adc.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -126,10 +126,10 @@ void adcStop(ADCDriver *adcp) {
* @note The buffer is organized as a matrix of M*N elements where M is the
* channels number configured into the conversion group and N is the
* buffer depth. The samples are sequentially written into the buffer
- * with no gaps.
- *
- * @param[in] adcp pointer to the @p ADCDriver object
- * @param[in] grpp pointer to a @p ADCConversionGroup object
+ * with no gaps.
+ *
+ * @param[in] adcp pointer to the @p ADCDriver object
+ * @param[in] grpp pointer to a @p ADCConversionGroup object
* @param[out] samples pointer to the samples buffer
* @param[in] depth buffer depth (matrix rows number). The buffer depth
* must be one or an even number.
@@ -170,8 +170,8 @@ bool_t adcStartConversion(ADCDriver *adcp,
/**
* @brief Stops an ongoing conversion.
- *
- * @param[in] adcp pointer to the @p ADCDriver object
+ *
+ * @param[in] adcp pointer to the @p ADCDriver object
*/
void adcStopConversion(ADCDriver *adcp) {
@@ -199,7 +199,7 @@ void adcStopConversion(ADCDriver *adcp) {
* @brief Waits for completion.
* @details If the conversion is not completed or not yet started then the
* invoking thread waits for a conversion completion event.
- *
+ *
* @param[in] adcp pointer to the @p ADCDriver object
* @param[in] timeout the number of ticks before the operation timeouts,
* the following special values are allowed:
@@ -208,7 +208,7 @@ void adcStopConversion(ADCDriver *adcp) {
* .
* @return The operation result.
* @retval RDY_OK conversion finished.
- * @retval RDY_TIMEOUT conversion not finished within the specified time.
+ * @retval RDY_TIMEOUT conversion not finished within the specified time.
*/
msg_t adcWaitConversion(ADCDriver *adcp, systime_t timeout) {
diff --git a/os/hal/src/can.c b/os/hal/src/can.c
index a4da35b8e..7bb91173f 100644
--- a/os/hal/src/can.c
+++ b/os/hal/src/can.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -128,9 +128,9 @@ void canStop(CANDriver *canp) {
* @details The specified frame is queued for transmission, if the hardware
* queue is full then the invoking thread is queued.
* @note Trying to transmit while in sleep mode simply enqueues the thread.
- *
- * @param[in] canp pointer to the @p CANDriver object
- * @param[in] ctfp pointer to the CAN frame to be transmitted
+ *
+ * @param[in] canp pointer to the @p CANDriver object
+ * @param[in] ctfp pointer to the CAN frame to be transmitted
* @param[in] timeout the number of ticks before the operation timeouts,
* the following special values are allowed:
* - @a TIME_IMMEDIATE immediate timeout.
@@ -203,7 +203,7 @@ msg_t canReceive(CANDriver *canp, CANRxFrame *crfp, systime_t timeout) {
}
/**
- * @brief Returns the current status mask and clears it.
+ * @brief Returns the current status mask and clears it.
*
* @param[in] canp pointer to the @p CANDriver object
* @return The status flags mask.
@@ -220,7 +220,7 @@ canstatus_t canGetAndClearFlags(CANDriver *canp) {
#if CAN_USE_SLEEP_MODE || defined(__DOXYGEN__)
/**
- * @brief Enters the sleep mode.
+ * @brief Enters the sleep mode.
*
* @param[in] canp pointer to the @p CANDriver object
*/
@@ -244,7 +244,7 @@ void canSleep(CANDriver *canp) {
/**
* @brief Enforces leaving the sleep mode.
* @note The sleep mode is supposed to be usually exited automatically by
- * an hardware event.
+ * an hardware event.
*
* @param[in] canp pointer to the @p CANDriver object
*/
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c
index f93f036c6..d7e963f74 100644
--- a/os/hal/src/hal.c
+++ b/os/hal/src/hal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -45,7 +45,7 @@
/*===========================================================================*/
/**
- * @brief HAL initialization.
+ * @brief HAL initialization.
*/
void halInit(void) {
diff --git a/os/hal/src/mac.c b/os/hal/src/mac.c
index 74e08bdf4..a079556fe 100644
--- a/os/hal/src/mac.c
+++ b/os/hal/src/mac.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -51,7 +51,7 @@
/*===========================================================================*/
/**
- * @brief MAC Driver initialization.
+ * @brief MAC Driver initialization.
*/
void macInit(void) {
@@ -59,7 +59,7 @@ void macInit(void) {
}
/**
- * @brief Initialize the standard part of a @p MACDriver structure.
+ * @brief Initialize the standard part of a @p MACDriver structure.
*
* @param[in] macp pointer to the @p MACDriver object
*/
@@ -75,9 +75,9 @@ void macObjectInit(MACDriver *macp) {
/**
* @brief MAC address setup.
* @note This function must be invoked only with the driver in the stopped
- * state. If invoked on an active interface then it is ignored.
+ * state. If invoked on an active interface then it is ignored.
*
- * @param[in] macp pointer to the @p MACDriver object
+ * @param[in] macp pointer to the @p MACDriver object
* @param[in] p pointer to a six bytes buffer containing the MAC
* address. If this parameter is set to @p NULL then MAC
* a system default is used.
@@ -93,7 +93,7 @@ void macSetAddress(MACDriver *macp, const uint8_t *p) {
* @details One of the available transmission descriptors is locked and
* returned. If a descriptor is not currently available then the
* invoking thread is queued until one is freed.
- *
+ *
* @param[in] macp pointer to the @p MACDriver object
* @param[out] tdp pointer to a @p MACTransmitDescriptor structure
* @param[in] time the number of ticks before the operation timeouts,
@@ -103,7 +103,7 @@ void macSetAddress(MACDriver *macp, const uint8_t *p) {
* .
* @return The operation status.
* @retval RDY_OK the descriptor was obtained.
- * @retval RDY_TIMEOUT the operation timed out, descriptor not initialized.
+ * @retval RDY_TIMEOUT the operation timed out, descriptor not initialized.
*/
msg_t macWaitTransmitDescriptor(MACDriver *macp,
MACTransmitDescriptor *tdp,
@@ -126,8 +126,8 @@ msg_t macWaitTransmitDescriptor(MACDriver *macp,
/**
* @brief Releases a transmit descriptor and starts the transmission of the
* enqueued data as a single frame.
- *
- * @param[in] tdp the pointer to the @p MACTransmitDescriptor structure
+ *
+ * @param[in] tdp the pointer to the @p MACTransmitDescriptor structure
*/
void macReleaseTransmitDescriptor(MACTransmitDescriptor *tdp) {
@@ -183,11 +183,11 @@ void macReleaseReceiveDescriptor(MACReceiveDescriptor *rdp) {
/**
* @brief Updates and returns the link status.
- *
+ *
* @param[in] macp pointer to the @p MACDriver object
* @return The link status.
* @retval TRUE if the link is active.
- * @retval FALSE if the link is down.
+ * @retval FALSE if the link is down.
*/
bool_t macPollLinkStatus(MACDriver *macp) {
diff --git a/os/hal/src/mmc_spi.c b/os/hal/src/mmc_spi.c
index c1cb313ec..6fb7a8332 100644
--- a/os/hal/src/mmc_spi.c
+++ b/os/hal/src/mmc_spi.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -45,7 +45,7 @@
/**
* @brief Inserion monitor timer callback function.
*
- * @param[in] p pointer to the @p MMCDriver object
+ * @param[in] p pointer to the @p MMCDriver object
*/
void tmrfunc(void *p) {
MMCDriver *mmcp = p;
@@ -72,7 +72,7 @@ void tmrfunc(void *p) {
/**
* @brief Waits an idle condition.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
*/
static void wait(MMCDriver *mmcp) {
@@ -98,10 +98,10 @@ static void wait(MMCDriver *mmcp) {
/**
* @brief Sends a command header.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
- * @param cmd[in] the command id
- * @param arg[in] the command argument
+ * @param cmd[in] the command id
+ * @param arg[in] the command argument
*/
static void send_hdr(MMCDriver *mmcp, uint8_t cmd, uint32_t arg) {
uint8_t buf[6];
@@ -120,10 +120,10 @@ static void send_hdr(MMCDriver *mmcp, uint8_t cmd, uint32_t arg) {
/**
* @brief Receives a single byte response.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @return The response as an @p uint8_t value.
- * @retval 0xFF timed out.
+ * @retval 0xFF timed out.
*/
static uint8_t recvr1(MMCDriver *mmcp) {
int i;
@@ -139,7 +139,7 @@ static uint8_t recvr1(MMCDriver *mmcp) {
/**
* @brief Sends a command an returns a single byte response.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @param cmd[in] the command id
* @param arg[in] the command argument
@@ -157,7 +157,7 @@ static uint8_t send_command(MMCDriver *mmcp, uint8_t cmd, uint32_t arg) {
}
/**
- * @brief Waits that the card reaches an idle state.
+ * @brief Waits that the card reaches an idle state.
*
* @param[in] mmcp pointer to the @p MMCDriver object
*/
@@ -335,7 +335,7 @@ bool_t mmcConnect(MMCDriver *mmcp) {
/**
* @brief Brings the driver in a state safe for card removal.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @return The operation status.
* @retval FALSE the operation was successful and the driver is now
@@ -367,9 +367,9 @@ bool_t mmcDisconnect(MMCDriver *mmcp) {
/**
* @brief Starts a sequential read.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
- * @param[in] startblk first block to read
+ * @param[in] startblk first block to read
* @return The operation status.
* @retval FALSE the operation was successful.
* @retval TRUE the operation failed.
@@ -401,7 +401,7 @@ bool_t mmcStartSequentialRead(MMCDriver *mmcp, uint32_t startblk) {
/**
* @brief Reads a block within a sequential read operation.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @param[out] buffer pointer to the read buffer
* @return The operation status.
@@ -440,7 +440,7 @@ bool_t mmcSequentialRead(MMCDriver *mmcp, uint8_t *buffer) {
/**
* @brief Stops a sequential read gracefully.
- *
+ *
* @param[in] mmcp pointer to the @p MMCDriver object
* @return The operation status.
* @retval FALSE the operation was successful.
diff --git a/os/hal/src/pal.c b/os/hal/src/pal.c
index cc898d2fd..eef5c32ff 100644
--- a/os/hal/src/pal.c
+++ b/os/hal/src/pal.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -99,7 +99,7 @@ void palWriteBus(IOBus *bus, ioportmask_t bits) {
* @note The default implementation is non atomic and not necessarily
* optimal. Low level drivers may optimize the function by using
* specific hardware or coding.
- *
+ *
* @param[in] bus the I/O bus, pointer to a @p IOBus structure
* @param[in] mode the mode
*/
diff --git a/os/hal/src/pwm.c b/os/hal/src/pwm.c
index ddfb6dd83..3aeec1309 100644
--- a/os/hal/src/pwm.c
+++ b/os/hal/src/pwm.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -104,10 +104,10 @@ void pwmStop(PWMDriver *pwmp) {
/**
* @brief Enables a PWM channel.
- *
+ *
* @param[in] pwmp pointer to a @p PWMDriver object
- * @param[in] channel PWM channel identifier
- * @param[in] width PWM pulse width as clock pulses number
+ * @param[in] channel PWM channel identifier
+ * @param[in] width PWM pulse width as clock pulses number
*/
void pwmEnableChannel(PWMDriver *pwmp,
pwmchannel_t channel,
@@ -127,7 +127,7 @@ void pwmEnableChannel(PWMDriver *pwmp,
* @brief Disables a PWM channel.
* @details The channel is disabled and its output line returned to the
* idle state.
- *
+ *
* @param[in] pwmp pointer to a @p PWMDriver object
* @param[in] channel PWM channel identifier
*/
diff --git a/os/hal/src/serial.c b/os/hal/src/serial.c
index 851f16ffb..52a1772c8 100644
--- a/os/hal/src/serial.c
+++ b/os/hal/src/serial.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/os/hal/src/spi.c b/os/hal/src/spi.c
index 611a454a7..29e69a283 100644
--- a/os/hal/src/spi.c
+++ b/os/hal/src/spi.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -110,7 +110,7 @@ void spiStop(SPIDriver *spip) {
/**
* @brief Asserts the slave select signal and prepares for transfers.
- *
+ *
* @param[in] spip pointer to the @p SPIDriver object
*/
void spiSelect(SPIDriver *spip) {
@@ -130,7 +130,7 @@ void spiSelect(SPIDriver *spip) {
/**
* @brief Deasserts the slave select signal.
* @details The previously selected peripheral is unselected.
- *
+ *
* @param[in] spip pointer to the @p SPIDriver object
*/
void spiUnselect(SPIDriver *spip) {
@@ -152,7 +152,7 @@ void spiUnselect(SPIDriver *spip) {
* @details This function transmits a series of idle words on the SPI bus and
* ignores the received data. This function can be invoked even
* when a slave select signal has not been yet asserted.
- *
+ *
* @param[in] spip pointer to the @p SPIDriver object
* @param[in] n number of words to be ignored
*/
@@ -171,9 +171,9 @@ void spiIgnore(SPIDriver *spip, size_t n) {
* @details This function performs a simultaneous transmit/receive operation.
* @note The buffers are organized as uint8_t arrays for data sizes below
* or equal to 8 bits else it is organized as uint16_t arrays.
- *
+ *
* @param[in] spip pointer to the @p SPIDriver object
- * @param[in] n number of words to be exchanged
+ * @param[in] n number of words to be exchanged
* @param[in] txbuf the pointer to the transmit buffer
* @param[out] rxbuf the pointer to the receive buffer
*/