diff options
Diffstat (limited to 'os/hal/platforms/STM32/can_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/can_lld.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/os/hal/platforms/STM32/can_lld.h b/os/hal/platforms/STM32/can_lld.h index ced27f38d..25f8a2105 100644 --- a/os/hal/platforms/STM32/can_lld.h +++ b/os/hal/platforms/STM32/can_lld.h @@ -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.
@@ -35,7 +35,7 @@ /*
* The following macros from the ST header file are replaced with better
- * equivalents. + * equivalents.
*/
#undef CAN_BTR_BRP
#undef CAN_BTR_TS1
@@ -44,12 +44,12 @@ /**
* @brief This switch defines whether the driver implementation supports
- * a low power switch mode with automatic an wakeup feature. + * a low power switch mode with automatic an wakeup feature.
*/
#define CAN_SUPPORTS_SLEEP TRUE
/**
- * @brief Minimum number of CAN filters. + * @brief Minimum number of CAN filters.
*/
#if defined(STM32F10X_CL) || defined(__DOXYGEN__)
#define CAN_MAX_FILTERS 28
@@ -102,7 +102,7 @@ /*===========================================================================*/
/**
- * @brief CAN status flags. + * @brief CAN status flags.
*/
typedef uint32_t canstatus_t;
@@ -164,7 +164,7 @@ typedef struct { /**
* @brief CAN filter.
- * @note Refer to the STM32 reference manual for info about filters. + * @note Refer to the STM32 reference manual for info about filters.
*/
typedef struct {
/**
@@ -214,13 +214,13 @@ typedef struct { /**
* @brief Number of elements into the filters array.
* @note By setting this field to zero a default filter is enabled that
- * allows all frames, this should be adequate for simple applications. + * allows all frames, this should be adequate for simple applications.
*/
uint32_t cc_num;
/**
* @brief Pointer to an array of @p CANFilter structures.
* @note This field can be set to @p NULL if the field @p cc_num is set to
- * zero. + * zero.
*/
const CANFilter *cc_filters;
} CANConfig;
@@ -238,7 +238,7 @@ typedef struct { */
const CANConfig *cd_config;
/**
- * @brief Transmission queue semaphore. + * @brief Transmission queue semaphore.
*/
Semaphore cd_txsem;
/**
@@ -252,7 +252,7 @@ typedef struct { * is <b>not</b> broadcasted for each received frame. It is
* responsibility of the application to empty the queue by repeatedly
* invoking @p chReceive() when listening to this event. This behavior
- * minimizes the interrupt served by the system because CAN traffic. + * minimizes the interrupt served by the system because CAN traffic.
*/
EventSource cd_rxfull_event;
/**
@@ -264,22 +264,22 @@ typedef struct { */
EventSource cd_error_event;
/**
- * @brief Error flags set when an error event is broadcasted. + * @brief Error flags set when an error event is broadcasted.
*/
canstatus_t cd_status;
#if CAN_USE_SLEEP_MODE || defined (__DOXYGEN__)
/**
- * @brief Entering sleep state event. + * @brief Entering sleep state event.
*/
EventSource cd_sleep_event;
/**
- * @brief Exiting sleep state event. + * @brief Exiting sleep state event.
*/
EventSource cd_wakeup_event;
#endif /* CAN_USE_SLEEP_MODE */
/* End of the mandatory fields.*/
/**
- * @brief Pointer to the CAN registers. + * @brief Pointer to the CAN registers.
*/
CAN_TypeDef *cd_can;
} CANDriver;
|