aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/meta/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/meta/driver.c')
-rw-r--r--os/hal/templates/meta/driver.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/templates/meta/driver.c b/os/hal/templates/meta/driver.c
index d688f3626..d006d0fda 100644
--- a/os/hal/templates/meta/driver.c
+++ b/os/hal/templates/meta/driver.c
@@ -48,6 +48,8 @@
/**
* @brief XXX Driver initialization.
+ *
+ * @init
*/
void xxxInit(void) {
@@ -58,6 +60,8 @@ void xxxInit(void) {
* @brief Initializes the standard part of a @p XXXDriver structure.
*
* @param[in] xxxp pointer to the @p XXXDriver object
+ *
+ * @init
*/
void xxxObjectInit(XXXDriver *xxxp) {
@@ -70,6 +74,8 @@ void xxxObjectInit(XXXDriver *xxxp) {
*
* @param[in] xxxp pointer to the @p XXXDriver object
* @param[in] config pointer to the @p XXXConfig object
+ *
+ * @api
*/
void xxxStart(XXXDriver *xxxp, const XXXConfig *config) {
@@ -89,6 +95,8 @@ void xxxStart(XXXDriver *xxxp, const XXXConfig *config) {
* @brief Deactivates the XXX peripheral.
*
* @param[in] xxxp pointer to the @p XXXDriver object
+ *
+ * @api
*/
void xxxStop(XXXDriver *xxxp) {