Fixed some template files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8686 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
e3cac893e9
commit
5c2d43e691
|
@ -94,17 +94,6 @@ typedef struct {
|
||||||
|
|
||||||
} PALConfig;
|
} PALConfig;
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Width, in bits, of an I/O port.
|
|
||||||
*/
|
|
||||||
#define PAL_IOPORTS_WIDTH 32U
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Whole port mask.
|
|
||||||
* @brief This macro specifies all the valid bits into a port.
|
|
||||||
*/
|
|
||||||
#define PAL_WHOLE_PORT ((ioportmask_t)0xFFFFFFFFU)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Digital I/O port sized unsigned type.
|
* @brief Digital I/O port sized unsigned type.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -93,8 +93,13 @@ typedef struct {
|
||||||
* @brief Pointer to the transmission linear buffer.
|
* @brief Pointer to the transmission linear buffer.
|
||||||
*/
|
*/
|
||||||
const uint8_t *txbuf;
|
const uint8_t *txbuf;
|
||||||
|
#if (USB_USE_WAIT == TRUE) || defined(__DOXYGEN__)
|
||||||
|
/**
|
||||||
|
* @brief Waiting thread.
|
||||||
|
*/
|
||||||
|
thread_reference_t thread;
|
||||||
|
#endif
|
||||||
/* End of the mandatory fields.*/
|
/* End of the mandatory fields.*/
|
||||||
} mode;
|
|
||||||
} USBInEndpointState;
|
} USBInEndpointState;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -113,6 +118,12 @@ typedef struct {
|
||||||
* @brief Pointer to the receive linear buffer.
|
* @brief Pointer to the receive linear buffer.
|
||||||
*/
|
*/
|
||||||
uint8_t *rxbuf;
|
uint8_t *rxbuf;
|
||||||
|
#if (USB_USE_WAIT == TRUE) || defined(__DOXYGEN__)
|
||||||
|
/**
|
||||||
|
* @brief Waiting thread.
|
||||||
|
*/
|
||||||
|
thread_reference_t thread;
|
||||||
|
#endif
|
||||||
/* End of the mandatory fields.*/
|
/* End of the mandatory fields.*/
|
||||||
} USBOutEndpointState;
|
} USBOutEndpointState;
|
||||||
|
|
||||||
|
|
|
@ -41,11 +41,10 @@
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @brief WDG1 driver enable switch.
|
* @brief WDG1 driver enable switch.
|
||||||
* @details If set to @p TRUE the support for IWDG is included.
|
|
||||||
* @note The default is @p FALSE.
|
* @note The default is @p FALSE.
|
||||||
*/
|
*/
|
||||||
#if !defined(STM32_WDG_USE_WDG1) || defined(__DOXYGEN__)
|
#if !defined(PLATFORM_WDG_USE_WDG1) || defined(__DOXYGEN__)
|
||||||
#define STM32_WDG_USE_WDG1 FALSE
|
#define PLATFORM_WDG_USE_WDG1 FALSE
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
@ -92,7 +91,7 @@ struct WDGDriver {
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if STM32_WDG_USE_IWDG && !defined(__DOXYGEN__)
|
#if PLATFORM_WDG_USE_WDG1 && !defined(__DOXYGEN__)
|
||||||
extern WDGDriver WDGD1;
|
extern WDGDriver WDGD1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue