From 4f1b492119f90b34fdbc13e88d892612c21cb08e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 31 Oct 2010 13:06:42 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2313 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/can.h | 10 +++++----- os/hal/include/i2c.h | 14 +++++++------- os/hal/include/mmc_spi.h | 14 +++++++------- os/hal/include/pwm.h | 13 ++++++------- os/hal/include/serial.h | 6 +++--- os/hal/include/uart.h | 18 +++++++++--------- os/hal/templates/meta/driver.h | 6 +++--- 7 files changed, 40 insertions(+), 41 deletions(-) (limited to 'os/hal') diff --git a/os/hal/include/can.h b/os/hal/include/can.h index f87c57fee..bf0caabed 100644 --- a/os/hal/include/can.h +++ b/os/hal/include/can.h @@ -82,11 +82,11 @@ * @brief Driver state machine possible states. */ typedef enum { - CAN_UNINIT = 0, /**< @brief Not initialized. */ - CAN_STOP = 1, /**< @brief Stopped. */ - CAN_STARTING = 2, /**< @brief Starting. */ - CAN_READY = 3, /**< @brief Ready. */ - CAN_SLEEP = 4 /**< @brief Sleep state. */ + CAN_UNINIT = 0, /**< Not initialized. */ + CAN_STOP = 1, /**< Stopped. */ + CAN_STARTING = 2, /**< Starting. */ + CAN_READY = 3, /**< Ready. */ + CAN_SLEEP = 4 /**< Sleep state. */ } canstate_t; #include "can_lld.h" diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 1ffba8a3e..ef8e93f40 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -57,13 +57,13 @@ * @brief Driver state machine possible states. */ typedef enum { - I2C_UNINIT = 0, /**< @brief Not initialized. */ - I2C_STOP = 1, /**< @brief Stopped. */ - I2C_READY = 2, /**< @brief Ready. */ - I2C_MREADY = 3, /**< @brief START and address sent. */ - I2C_MTRANSMIT = 4, /**< @brief Master transmitting. */ - I2C_MRECEIVE = 5, /**< @brief Master receiving. */ - I2C_MERROR = 6 /**< @brief Error condition. */ + I2C_UNINIT = 0, /**< Not initialized. */ + I2C_STOP = 1, /**< Stopped. */ + I2C_READY = 2, /**< Ready. */ + I2C_MREADY = 3, /**< START and address sent. */ + I2C_MTRANSMIT = 4, /**< Master transmitting. */ + I2C_MRECEIVE = 5, /**< Master receiving. */ + I2C_MERROR = 6 /**< Error condition. */ } i2cstate_t; #include "i2c_lld.h" diff --git a/os/hal/include/mmc_spi.h b/os/hal/include/mmc_spi.h index c5732887d..582ed1653 100644 --- a/os/hal/include/mmc_spi.h +++ b/os/hal/include/mmc_spi.h @@ -102,13 +102,13 @@ * @brief Driver state machine possible states. */ typedef enum { - MMC_UNINIT = 0, /**< @brief Not initialized. */ - MMC_STOP = 1, /**< @brief Stopped. */ - MMC_WAIT = 2, /**< @brief Waiting card. */ - MMC_INSERTED = 3, /**< @brief Card inserted. */ - MMC_READY = 4, /**< @brief Card ready. */ - MMC_READING = 5, /**< @brief Reading. */ - MMC_WRITING = 6 /**< @brief Writing. */ + MMC_UNINIT = 0, /**< Not initialized. */ + MMC_STOP = 1, /**< Stopped. */ + MMC_WAIT = 2, /**< Waiting card. */ + MMC_INSERTED = 3, /**< Card inserted. */ + MMC_READY = 4, /**< Card ready. */ + MMC_READING = 5, /**< Reading. */ + MMC_WRITING = 6 /**< Writing. */ } mmcstate_t; /** diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h index c0cea6c2b..d37e449aa 100644 --- a/os/hal/include/pwm.h +++ b/os/hal/include/pwm.h @@ -50,19 +50,18 @@ * @brief Driver state machine possible states. */ typedef enum { - PWM_UNINIT = 0, /**< @brief Not initialized. */ - PWM_STOP = 1, /**< @brief Stopped. */ - PWM_READY = 2, /**< @brief Ready. */ + PWM_UNINIT = 0, /**< Not initialized. */ + PWM_STOP = 1, /**< Stopped. */ + PWM_READY = 2, /**< Ready. */ } pwmstate_t; /** * @brief PWM logic mode. */ typedef enum { - PWM_OUTPUT_DISABLED = 0, /**< @brief Output not driven, callback - only. */ - PWM_OUTPUT_ACTIVE_HIGH = 1, /**< @brief Idle is logic level 0. */ - PWM_OUTPUT_ACTIVE_LOW = 2 /**< @brief Idle is logic level 1. */ + PWM_OUTPUT_DISABLED = 0, /**< Output not driven, callback only. */ + PWM_OUTPUT_ACTIVE_HIGH = 1, /**< Idle is logic level 0. */ + PWM_OUTPUT_ACTIVE_LOW = 2 /**< Idle is logic level 1. */ } pwmmode_t; #include "pwm_lld.h" diff --git a/os/hal/include/serial.h b/os/hal/include/serial.h index 79e40fa72..d14a47805 100644 --- a/os/hal/include/serial.h +++ b/os/hal/include/serial.h @@ -91,9 +91,9 @@ * @brief Driver state machine possible states. */ typedef enum { - SD_UNINIT = 0, /**< @brief Not initialized. */ - SD_STOP = 1, /**< @brief Stopped. */ - SD_READY = 2 /**< @brief Ready. */ + SD_UNINIT = 0, /**< Not initialized. */ + SD_STOP = 1, /**< Stopped. */ + SD_READY = 2 /**< Ready. */ } sdstate_t; /** diff --git a/os/hal/include/uart.h b/os/hal/include/uart.h index 005282f5e..7d707d4d0 100644 --- a/os/hal/include/uart.h +++ b/os/hal/include/uart.h @@ -63,27 +63,27 @@ * @brief Driver state machine possible states. */ typedef enum { - UART_UNINIT = 0, /**< @brief Not initialized. */ - UART_STOP = 1, /**< @brief Stopped. */ - UART_READY = 2 /**< @brief Ready. */ + UART_UNINIT = 0, /**< Not initialized. */ + UART_STOP = 1, /**< Stopped. */ + UART_READY = 2 /**< Ready. */ } uartstate_t; /** * @brief Transmitter state machine states. */ typedef enum { - UART_TX_IDLE = 0, /**< @brief Not transmitting. */ - UART_TX_ACTIVE = 1, /**< @brief Transmitting. */ - UART_TX_COMPLETE = 2 /**< @brief Buffer complete. */ + UART_TX_IDLE = 0, /**< Not transmitting. */ + UART_TX_ACTIVE = 1, /**< Transmitting. */ + UART_TX_COMPLETE = 2 /**< Buffer complete. */ } uarttxstate_t; /** * @brief Receiver state machine states. */ typedef enum { - UART_RX_IDLE = 0, /**< @brief Not receiving. */ - UART_RX_ACTIVE = 1, /**< @brief Receiving. */ - UART_RX_COMPLETE = 2 /**< @brief Buffer complete. */ + UART_RX_IDLE = 0, /**< Not receiving. */ + UART_RX_ACTIVE = 1, /**< Receiving. */ + UART_RX_COMPLETE = 2 /**< Buffer complete. */ } uartrxstate_t; #include "uart_lld.h" diff --git a/os/hal/templates/meta/driver.h b/os/hal/templates/meta/driver.h index b3aeb3b0a..a19406719 100644 --- a/os/hal/templates/meta/driver.h +++ b/os/hal/templates/meta/driver.h @@ -50,9 +50,9 @@ * @brief Driver state machine possible states. */ typedef enum { - XXX_UNINIT = 0, /**< @brief Not initialized. */ - XXX_STOP = 1, /**< @brief Stopped. */ - XXX_READY = 2, /**< @brief Ready. */ + XXX_UNINIT = 0, /**< Not initialized. */ + XXX_STOP = 1, /**< Stopped. */ + XXX_READY = 2, /**< Ready. */ } xxxstate_t; #include "xxx_lld.h" -- cgit v1.2.3