summaryrefslogtreecommitdiff
path: root/n/avr
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr')
-rw-r--r--n/avr/modules/proto/Makefile2
-rw-r--r--n/avr/modules/proto/proto.txt1
-rw-r--r--n/avr/modules/proto/proto_inline.c36
3 files changed, 19 insertions, 20 deletions
diff --git a/n/avr/modules/proto/Makefile b/n/avr/modules/proto/Makefile
index 1b096cd..1c9f69b 100644
--- a/n/avr/modules/proto/Makefile
+++ b/n/avr/modules/proto/Makefile
@@ -1,5 +1,5 @@
BASE = ../..
DOC = proto.html
-EXTRACTDOC = proto.h proto_inline.c avrconfig.h
+EXTRACTDOC = proto.h avrconfig.h proto_inline.c
include $(BASE)/make/Makefile.gen
diff --git a/n/avr/modules/proto/proto.txt b/n/avr/modules/proto/proto.txt
index 51ded0a..780dbef 100644
--- a/n/avr/modules/proto/proto.txt
+++ b/n/avr/modules/proto/proto.txt
@@ -77,4 +77,3 @@ Regarder le programme de test pour avoir un example.
* Doc
*File: proto.exd
-*File: proto_inline.exd
diff --git a/n/avr/modules/proto/proto_inline.c b/n/avr/modules/proto/proto_inline.c
index 262676f..1a9e940 100644
--- a/n/avr/modules/proto/proto_inline.c
+++ b/n/avr/modules/proto/proto_inline.c
@@ -24,7 +24,7 @@
* }}} */
#include "modules/utils/byte.h"
-/* Send a command with no argument. */
+/** Send a command with no argument. */
extern inline void
proto_send0 (uint8_t cmd)
{
@@ -33,7 +33,7 @@ proto_send0 (uint8_t cmd)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 1 byte argument. */
+/** Send a command with 1 byte argument. */
extern inline void
proto_send1b (uint8_t cmd, uint8_t arg0)
{
@@ -43,7 +43,7 @@ proto_send1b (uint8_t cmd, uint8_t arg0)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 1 word argument. */
+/** Send a command with 1 word argument. */
extern inline void
proto_send1w (uint8_t cmd, uint16_t arg0)
{
@@ -54,7 +54,7 @@ proto_send1w (uint8_t cmd, uint16_t arg0)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 1 double word argument. */
+/** Send a command with 1 double word argument. */
extern inline void
proto_send1d (uint8_t cmd, uint32_t arg0)
{
@@ -67,7 +67,7 @@ proto_send1d (uint8_t cmd, uint32_t arg0)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 2 bytes arguments. */
+/** Send a command with 2 bytes arguments. */
extern inline void
proto_send2b (uint8_t cmd, uint8_t arg0, uint8_t arg1)
{
@@ -78,7 +78,7 @@ proto_send2b (uint8_t cmd, uint8_t arg0, uint8_t arg1)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 2 words arguments. */
+/** Send a command with 2 words arguments. */
extern inline void
proto_send2w (uint8_t cmd, uint16_t arg0, uint16_t arg1)
{
@@ -91,7 +91,7 @@ proto_send2w (uint8_t cmd, uint16_t arg0, uint16_t arg1)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 2 double words arguments. */
+/** Send a command with 2 double words arguments. */
extern inline void
proto_send2d (uint8_t cmd, uint32_t arg0, uint32_t arg1)
{
@@ -108,7 +108,7 @@ proto_send2d (uint8_t cmd, uint32_t arg0, uint32_t arg1)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 3 bytes arguments. */
+/** Send a command with 3 bytes arguments. */
extern inline void
proto_send3b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2)
{
@@ -120,7 +120,7 @@ proto_send3b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 3 words arguments. */
+/** Send a command with 3 words arguments. */
extern inline void
proto_send3w (uint8_t cmd, uint16_t arg0, uint16_t arg1, uint16_t arg2)
{
@@ -135,7 +135,7 @@ proto_send3w (uint8_t cmd, uint16_t arg0, uint16_t arg1, uint16_t arg2)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 3 double words arguments. */
+/** Send a command with 3 double words arguments. */
extern inline void
proto_send3d (uint8_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2)
{
@@ -156,7 +156,7 @@ proto_send3d (uint8_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2)
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 4 bytes arguments. */
+/** Send a command with 4 bytes arguments. */
extern inline void
proto_send4b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t
arg3)
@@ -170,7 +170,7 @@ proto_send4b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 4 words arguments. */
+/** Send a command with 4 words arguments. */
extern inline void
proto_send4w (uint8_t cmd, uint16_t arg0, uint16_t arg1, uint16_t arg2,
uint16_t arg3)
@@ -188,7 +188,7 @@ proto_send4w (uint8_t cmd, uint16_t arg0, uint16_t arg1, uint16_t arg2,
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 4 double words arguments. */
+/** Send a command with 4 double words arguments. */
extern inline void
proto_send4d (uint8_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2,
uint32_t arg3)
@@ -214,7 +214,7 @@ proto_send4d (uint8_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2,
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 5 bytes arguments. */
+/** Send a command with 5 bytes arguments. */
extern inline void
proto_send5b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2,
uint8_t arg3, uint8_t arg4)
@@ -229,7 +229,7 @@ proto_send5b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2,
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 5 words arguments. */
+/** Send a command with 5 words arguments. */
extern inline void
proto_send5w (uint8_t cmd, uint16_t arg0, uint16_t arg1, uint16_t arg2,
uint16_t arg3, uint16_t arg4)
@@ -249,7 +249,7 @@ proto_send5w (uint8_t cmd, uint16_t arg0, uint16_t arg1, uint16_t arg2,
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 6 bytes arguments. */
+/** Send a command with 6 bytes arguments. */
extern inline void
proto_send6b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2,
uint8_t arg3, uint8_t arg4, uint8_t arg5)
@@ -265,7 +265,7 @@ proto_send6b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2,
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 7 bytes arguments. */
+/** Send a command with 7 bytes arguments. */
extern inline void
proto_send7b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2,
uint8_t arg3, uint8_t arg4, uint8_t arg5, uint8_t arg6)
@@ -282,7 +282,7 @@ proto_send7b (uint8_t cmd, uint8_t arg0, uint8_t arg1, uint8_t arg2,
AC_PROTO_PUTC ('\r');
}
-/* Send a command with 8 bytes arguments. */
+/** Send a command with 8 bytes arguments. */
extern inline void
proto_send8b (uint8_t cmd,
uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t arg3,