git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2312 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
37e7834f45
commit
e5d3bdcf76
|
@ -46,6 +46,12 @@
|
||||||
/* Driver data structures and types. */
|
/* Driver data structures and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Type of a structure representing an XXX driver.
|
||||||
|
*/
|
||||||
|
typedef struct XXXDriver XXXDriver;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Driver configuration structure.
|
* @brief Driver configuration structure.
|
||||||
* @note It could be empty on some architectures.
|
* @note It could be empty on some architectures.
|
||||||
|
@ -57,7 +63,7 @@ typedef struct {
|
||||||
/**
|
/**
|
||||||
* @brief Structure representing an XXX driver.
|
* @brief Structure representing an XXX driver.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
struct XXXDriver {
|
||||||
/**
|
/**
|
||||||
* @brief Driver state.
|
* @brief Driver state.
|
||||||
*/
|
*/
|
||||||
|
@ -67,7 +73,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
const XXXConfig *xxx_config;
|
const XXXConfig *xxx_config;
|
||||||
/* End of the mandatory fields.*/
|
/* End of the mandatory fields.*/
|
||||||
} XXXDriver;
|
};
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver macros. */
|
/* Driver macros. */
|
||||||
|
|
Loading…
Reference in New Issue