1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

drivers/can: fix doxygen documentation + typo

This commit is contained in:
Alexandre Abadie 2017-07-02 18:33:45 +02:00
parent f6f9ba157d
commit 268c6b647e
25 changed files with 70 additions and 52 deletions

View File

@ -7,7 +7,7 @@
*/ */
/** /**
* @ingroup native_cpu * @ingroup drivers_candev_linux
* @{ * @{
* *
* @file * @file

View File

@ -7,9 +7,9 @@
*/ */
/** /**
* @ingroup native_cpu * @defgroup drivers_candev_linux SocketCAN driver
* @ingroup drivers_can * @ingroup drivers_can
* @defgroup candev_linux SocketCAN driver * @brief Implementation of simulated CAN controller driver using SocketCAN on Linux
* @{ * @{
* *
* @file * @file
@ -18,7 +18,6 @@
* @author Hermann Lelong <hermann@otakeys.com> * @author Hermann Lelong <hermann@otakeys.com>
* @author Aurelien Gonce <aurelien.gonce@altran.com> * @author Aurelien Gonce <aurelien.gonce@altran.com>
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @}
*/ */
#ifndef CANDEV_LINUX_H #ifndef CANDEV_LINUX_H
@ -102,3 +101,4 @@ extern candev_linux_conf_t candev_linux_conf[CAN_DLL_NUMOF];
#endif #endif
#endif /* CANDEV_LINUX_H */ #endif /* CANDEV_LINUX_H */
/** @} */

View File

@ -7,14 +7,13 @@
*/ */
/** /**
* @ingroup candev_linux * @ingroup drivers_candev_linux
* @{ * @{
* *
* @file * @file
* @brief Default linux can config * @brief Default linux can config
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @}
*/ */
#ifndef CANDEV_LINUX_PARAMS_H #ifndef CANDEV_LINUX_PARAMS_H

View File

@ -7,16 +7,15 @@
*/ */
/** /**
* @defgroup drivers_can transceiver * @ingroup drivers_can_trx
* @ingroup drivers
* @brief generic transceiver interface * @brief generic transceiver interface
*
* @{ * @{
* *
* @file * @file
* @brief generic transceiver interface * @brief generic transceiver interface
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @}
*/ */
#include <errno.h> #include <errno.h>

View File

@ -7,15 +7,13 @@
*/ */
/** /**
* @defgroup trx_can CAN transceiver * @defgroup drivers_can_trx CAN transceiver interface
* @ingroup can * @ingroup drivers_can
* @ingroup drivers * @brief CAN generic transceiver interface
* @brief generic transceiver interface
*
* @{ * @{
* *
* @file * @file
* @brief generic transceiver interface * @brief CAN generic transceiver interface
* *
* @author Aurelien Gonce <aurelien.gonce@altran.com> * @author Aurelien Gonce <aurelien.gonce@altran.com>
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>

View File

@ -7,15 +7,15 @@
*/ */
/** /**
* @ingroup can * @defgroup drivers_candev CAN device driver interface
* @ingroup drivers * @ingroup drivers_can
* @defgroup drivers_can CAN drivers * @brief Definitions for low-level CAN driver interface
* @{ * @{
* *
* This is the CAN controller driver interface * This is the CAN controller generic driver interface
* *
* @file * @file
* @brief Definitions low-level CAN driver interface * @brief Definitions for low-level CAN driver interface
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @author Toon Stegen <toon.stegen@altran.com> * @author Toon Stegen <toon.stegen@altran.com>
@ -37,12 +37,12 @@ extern "C" {
/** /**
* @brief Possible event types that are send from the device driver to the * @brief Possible event types that are sent from the device driver to the
* upper layer * upper layer
*/ */
typedef enum { typedef enum {
CANDEV_EVENT_NOEVENT, /**< no event, used internally */ CANDEV_EVENT_NOEVENT, /**< no event, used internally */
CANDEV_EVENT_ISR, /**< driver needs it's ISR handled */ CANDEV_EVENT_ISR, /**< driver needs its ISR handled */
CANDEV_EVENT_WAKE_UP, /**< driver has been woken up by bus */ CANDEV_EVENT_WAKE_UP, /**< driver has been woken up by bus */
CANDEV_EVENT_TX_CONFIRMATION, /**< a packet has been sent */ CANDEV_EVENT_TX_CONFIRMATION, /**< a packet has been sent */
CANDEV_EVENT_TIMEOUT_TX_CONF, /**< tx conf timeout received */ CANDEV_EVENT_TIMEOUT_TX_CONF, /**< tx conf timeout received */

View File

@ -0,0 +1,9 @@
/**
* @defgroup drivers_can CAN Drivers
* @ingroup drivers_netdev
* @brief Drivers for CAN devices
* @see sys_can
*
* @note These devices are not covered by the @ref drivers_netdev API
* but by the @ref drivers_candev API.
*/

View File

@ -7,10 +7,13 @@
*/ */
/** /**
* @ingroup sys_can_conn
* @{
* @file * @file
* @brief Implementation of isotp CAN connection * @brief Implementation of isotp CAN connection
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @}
*/ */
#ifdef MODULE_CAN_ISOTP #ifdef MODULE_CAN_ISOTP

View File

@ -7,10 +7,13 @@
*/ */
/** /**
* @ingroup sys_can_conn
* @{
* @file * @file
* @brief Implementation of raw CAN connection * @brief Implementation of raw CAN connection
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @}
*/ */
#include <errno.h> #include <errno.h>

View File

@ -7,12 +7,15 @@
*/ */
/** /**
* @ingroup sys_can_dll
* @{
* @file * @file
* @brief CAN device interface * @brief CAN device interface
* *
* @author Toon Stegen <toon.stegen@altran.com> * @author Toon Stegen <toon.stegen@altran.com>
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @author Aurelien Gonce <aurelien.gonce@altran.com> * @author Aurelien Gonce <aurelien.gonce@altran.com>
* @}
*/ */
#include <errno.h> #include <errno.h>

View File

@ -7,6 +7,8 @@
*/ */
/** /**
* @ingroup sys_can_dll
* @{
* @file * @file
* @brief CAN Data Link Layer module * @brief CAN Data Link Layer module
* *
@ -18,6 +20,7 @@
* @author Toon Stegen <toon.stegen@altran.com> * @author Toon Stegen <toon.stegen@altran.com>
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @author Aurelien Gonce <aurelien.gonce@altran.com> * @author Aurelien Gonce <aurelien.gonce@altran.com>
* @}
*/ */
#include <errno.h> #include <errno.h>

View File

@ -7,10 +7,13 @@
*/ */
/** /**
* @ingroup sys_can_isotp
* @{
* @file * @file
* @brief ISO TP high level interface * @brief ISO TP high level interface
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @}
*/ */
#include <errno.h> #include <errno.h>

View File

@ -7,11 +7,14 @@
*/ */
/** /**
* @ingroup sys_can_dll
* @{
* @file * @file
* @brief CAN memory allocation module * @brief CAN memory allocation module
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @author Toon Stegen <toon.stegen@altran.com> * @author Toon Stegen <toon.stegen@altran.com>
* @}
*/ */
#include <string.h> #include <string.h>

View File

@ -7,12 +7,14 @@
*/ */
/** /**
* * @ingroup sys_can_dll
* @{
* @file * @file
* @brief Functions for routing RX can frames * @brief Functions for routing RX can frames
* *
* @author Toon Stegen <toon.stegen@altran.com> * @author Toon Stegen <toon.stegen@altran.com>
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @}
*/ */
#include <stdint.h> #include <stdint.h>

View File

@ -7,16 +7,15 @@
*/ */
/** /**
* @ingroup can * @defgroup sys_can_dll Data Link Layer
* @defgroup can_dll Data Link Layer * @ingroup sys_can
* @brief CAN Data Link Layer * @brief CAN Data Link Layer
* *
* The Data Link Layer is composed of the device, router, pkt and dll files. * 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 * @file
* @brief Definitions high-level CAN interface * @brief Definitions high-level CAN interface
* *

View File

@ -7,8 +7,8 @@
*/ */
/** /**
* @ingroup can * @defgroup sys_can_common Common definitions
* @defgroup can_common Common * @ingroup sys_can
* @brief CAN stack common definitions * @brief CAN stack common definitions
* *
* This module defines the common part of the CAN stack, including structures * This module defines the common part of the CAN stack, including structures

View File

@ -7,10 +7,9 @@
*/ */
/** /**
* @ingroup conn_can * @ingroup sys_can_conn
* @{ * @{
* *
*
* @file * @file
* @brief Definitions of generic CAN interface * @brief Definitions of generic CAN interface
* *

View File

@ -7,15 +7,14 @@
*/ */
/** /**
* @ingroup can * @defgroup sys_can_conn Connection
* @defgroup conn_can Connection * @ingroup sys_can
* @brief conn interface for CAN stack * @brief conn interface for CAN stack
* *
* This is the user interface to send and receive raw CAN frames or ISO-TP datagrams * This is the user interface to send and receive raw CAN frames or ISO-TP datagrams
* *
* @{ * @{
* *
*
* @file * @file
* @brief Definitions of generic CAN interface * @brief Definitions of generic CAN interface
* *

View File

@ -7,10 +7,9 @@
*/ */
/** /**
* @ingroup can_dll * @ingroup sys_can_dll
* @{ * @{
* *
*
* @file * @file
* @brief Definitions of CAN device interface * @brief Definitions of CAN device interface
* *

View File

@ -7,10 +7,9 @@
*/ */
/** /**
* @ingroup can_dll * @ingroup sys_can_dll
* @{ * @{
* *
*
* @file * @file
* @brief Definitions of low-level CAN DLL interface * @brief Definitions of low-level CAN DLL interface
* *

View File

@ -1,5 +1,6 @@
/** /**
* @defgroup can CAN * @defgroup sys_can CAN (Controller Area Network)
* @ingroup net
* @brief RIOT CAN stack * @brief RIOT CAN stack
* *
* This module is a full CAN stack integrated to RIOT. * This module is a full CAN stack integrated to RIOT.
@ -20,4 +21,6 @@
* *
* Finally, the connection layer is the user interface to send and receive raw * Finally, the connection layer is the user interface to send and receive raw
* CAN frames or ISO-TP datagrams. * CAN frames or ISO-TP datagrams.
*
* @see drivers_can
*/ */

View File

@ -7,12 +7,11 @@
*/ */
/** /**
* @ingroup can * @defgroup sys_can_isotp ISO transport protocol over CAN
* @defgroup isotp ISOTP * @ingroup sys_can
* @brief ISO transport protocol over CAN (ISO15765) * @brief ISO transport protocol over CAN (ISO15765)
* @{ * @{
* *
*
* @file * @file
* @brief ISO TP high level interface * @brief ISO TP high level interface
* *

View File

@ -7,10 +7,9 @@
*/ */
/** /**
* @ingroup can_dll * @ingroup sys_can_dll
* @{ * @{
* *
*
* @file * @file
* @brief CAN memory allocation module * @brief CAN memory allocation module
* *
@ -148,5 +147,4 @@ void can_pkt_buf_free(void *data, size_t size);
#endif #endif
#endif /* CAN_PKT_H */ #endif /* CAN_PKT_H */
/** @} */ /** @} */

View File

@ -7,14 +7,14 @@
*/ */
/** /**
* @ingroup can_dll * @ingroup sys_can_dll
* @{ * @{
* *
*
* @file * @file
* @brief Definitions high-level RAW CAN interface * @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 <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* @author Toon Stegen <toon.stegen@altran.com> * @author Toon Stegen <toon.stegen@altran.com>

View File

@ -7,10 +7,9 @@
*/ */
/** /**
* @ingroup can_dll * @ingroup sys_can_dll
* @{ * @{
* *
*
* @file * @file
* @brief Functions for routing RX can frames * @brief Functions for routing RX can frames
* *
@ -112,5 +111,4 @@ int can_router_dispatch_tx_error(can_pkt_t *pkt);
#endif #endif
#endif /* CAN_ROUTER_H */ #endif /* CAN_ROUTER_H */
/** @} */ /** @} */