Skip to content

Commit

Permalink
fixup! drivers/can: fix doxygen documentation + typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Jul 2, 2017
1 parent 127592e commit af6a5c5
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 37 deletions.
2 changes: 1 addition & 1 deletion cpu/native/can/candev_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup candev_linux
* @ingroup drivers_candev_linux
* @{
*
* @file
Expand Down
2 changes: 1 addition & 1 deletion cpu/native/include/candev_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @defgroup candev_linux SocketCAN driver
* @defgroup drivers_candev_linux SocketCAN driver
* @ingroup drivers_can
* @brief Implementation of simulated CAN controller driver using SocketCAN on Linux
* @{
Expand Down
2 changes: 1 addition & 1 deletion cpu/native/include/candev_linux_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup candev_linux
* @ingroup drivers_candev_linux
* @{
*
* @file
Expand Down
7 changes: 0 additions & 7 deletions drivers/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@
* @ingroup drivers
* @brief Drivers for storage devices
*/

/**
* @defgroup drivers_can CAN Drivers
* @ingroup drivers
* @ingroup can
* @brief Drivers for CAN devices
*/
6 changes: 6 additions & 0 deletions drivers/include/can/doc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* @defgroup drivers_can CAN Drivers
* @ingroup drivers_netdev
* @brief Drivers for CAN devices
* @see sys_can
*/
2 changes: 1 addition & 1 deletion sys/can/conn/isotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup conn_can
* @ingroup sys_conn_can
* @{
* @file
* @brief Implementation of isotp CAN connection
Expand Down
2 changes: 1 addition & 1 deletion sys/can/conn/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup conn_can
* @ingroup sys_conn_can
* @{
* @file
* @brief Implementation of raw CAN connection
Expand Down
2 changes: 1 addition & 1 deletion sys/can/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
* @file
* @brief CAN device interface
Expand Down
3 changes: 3 additions & 0 deletions sys/can/dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*/

/**
* @ingroup sys_can_dll
* @{
* @file
* @brief CAN Data Link Layer module
*
Expand All @@ -18,6 +20,7 @@
* @author Toon Stegen <[email protected]>
* @author Vincent Dupont <[email protected]>
* @author Aurelien Gonce <[email protected]>
* @}
*/

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion sys/can/isotp/isotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup can_isotp
* @ingroup sys_can_isotp
* @{
* @file
* @brief ISO TP high level interface
Expand Down
2 changes: 1 addition & 1 deletion sys/can/pkt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
* @file
* @brief CAN memory allocation module
Expand Down
2 changes: 1 addition & 1 deletion sys/can/router.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
* @file
* @brief Functions for routing RX can frames
Expand Down
7 changes: 4 additions & 3 deletions sys/include/can/can.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
*/

/**
* @defgroup can_dll Data Link Layer
* @ingroup can
* @defgroup sys_can_dll Data Link Layer
* @ingroup sys_can
* @brief CAN Data Link Layer
*
* The Data Link Layer is composed of the device, router, pkt and dll files.
* It can be used to send and receive raw CAN frames through multiple CAN controllers.
* It can be used to send and receive raw CAN frames through multiple CAN
* controllers.
* @{
*
* @file
Expand Down
4 changes: 2 additions & 2 deletions sys/include/can/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*/

/**
* @defgroup can_common Common
* @ingroup can
* @defgroup sys_can_common Common
* @ingroup sys_can
* @brief CAN stack common definitions
*
* This module defines the common part of the CAN stack, including structures
Expand Down
3 changes: 1 addition & 2 deletions sys/include/can/conn/isotp.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
*/

/**
* @ingroup conn_can
* @ingroup sys_conn_can
* @{
*
*
* @file
* @brief Definitions of generic CAN interface
*
Expand Down
5 changes: 2 additions & 3 deletions sys/include/can/conn/raw.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
*/

/**
* @defgroup conn_can Connection
* @ingroup can
* @defgroup sys_conn_can Connection
* @ingroup sys_can
* @brief conn interface for CAN stack
*
* This is the user interface to send and receive raw CAN frames or ISO-TP datagrams
*
* @{
*
*
* @file
* @brief Definitions of generic CAN interface
*
Expand Down
3 changes: 1 addition & 2 deletions sys/include/can/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
*
*
* @file
* @brief Definitions of CAN device interface
*
Expand Down
2 changes: 1 addition & 1 deletion sys/include/can/dll.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
*
* @file
Expand Down
5 changes: 4 additions & 1 deletion sys/include/can/doc.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/**
* @defgroup can CAN (Controller Area Network)
* @defgroup sys_can CAN (Controller Area Network)
* @ingroup net
* @brief RIOT CAN stack
*
* This module is a full CAN stack integrated to RIOT.
Expand All @@ -20,4 +21,6 @@
*
* Finally, the connection layer is the user interface to send and receive raw
* CAN frames or ISO-TP datagrams.
*
* @see drivers_can
*/
4 changes: 2 additions & 2 deletions sys/include/can/isotp.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*/

/**
* @defgroup can_isotp ISOTP
* @ingroup can
* @defgroup sys_can_isotp ISOTP
* @ingroup sys_can
* @brief ISO transport protocol over CAN (ISO15765)
* @{
*
Expand Down
3 changes: 1 addition & 2 deletions sys/include/can/pkt.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
*
*
* @file
* @brief CAN memory allocation module
*
Expand Down
5 changes: 3 additions & 2 deletions sys/include/can/raw.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
*
* @file
* @brief Definitions high-level RAW CAN interface
*
* This file defines the hig-level CAN interface to send and receive RAW CAN frame.
* This file defines the high-level CAN interface to send and receive RAW CAN
* frame.
*
* @author Vincent Dupont <[email protected]>
* @author Toon Stegen <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion sys/include/can/router.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/**
* @ingroup can_dll
* @ingroup sys_can_dll
* @{
*
* @file
Expand Down

0 comments on commit af6a5c5

Please sign in to comment.