Skip to content

Commit

Permalink
Clean up group/module definitions in doxygen (ARMmbed#97)
Browse files Browse the repository at this point in the history
* Clean up group definitions in doxygen

* remove THIRD_PARTY_DOCS

* some stragglers

* fix astyle formatting
  • Loading branch information
jay-sridharan authored Nov 13, 2022
1 parent e4469c3 commit 961632a
Show file tree
Hide file tree
Showing 134 changed files with 293 additions and 472 deletions.
9 changes: 5 additions & 4 deletions connectivity/FEATURE_BLE/include/ble/BLE.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,15 +475,16 @@ class BLE {
bool event_signaled;
};

}

using ble::BLE;
/**
* @namespace ble Entry namespace for all BLE API definitions.
* @}
*/

}

using ble::BLE;
/**
* @}
* @namespace ble Entry namespace for all BLE API definitions.
*/

#endif /* ifndef MBED_BLE_H__ */
3 changes: 2 additions & 1 deletion connectivity/FEATURE_BLE/include/ble/common/blecommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ extern "C" {
#endif

/**
* @addtogroup ble
* @defgroup ble Bluetooth
* @ingroup connectivity-public-api
* @{
* @addtogroup common
* @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ uint32_t BbGetTargetTimeDelta(uint32_t targetUsec, uint32_t refUsec);
/*************************************************************************************************/
uint8_t BbGetActiveProtocol(void);

/*! \} */ /* BB_API_CTRL */
/*! \} */ /* BB_API_CTRL */

#ifdef __cplusplus
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright (c) 2014 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
Expand Down Expand Up @@ -37,6 +37,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/

#ifndef BOARDS_H
#define BOARDS_H

Expand Down Expand Up @@ -92,7 +93,8 @@
extern "C" {
#endif

/**@defgroup BSP_BOARD_INIT_FLAGS Board initialization flags.
/**
* @defgroup BSP_BOARD_INIT_FLAGS Board initialization flags.
* @{ */
#define BSP_INIT_NONE 0 /**< No initialization of LEDs or buttons (@ref bsp_board_init).*/
#define BSP_INIT_LEDS (1 << 0) /**< Enable LEDs during initialization (@ref bsp_board_init).*/
Expand Down
2 changes: 1 addition & 1 deletion connectivity/cellular/include/CellularNonIPSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

namespace mbed {

/** \addtogroup netsocket */
/** \addtogroup NetSocket */
/** @{*/

/** Socket implementation for cellular Non-IP data delivery(NIDD).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
namespace mbed {

/**
* @addtogroup cellular
* @defgroup connectivity-public-api Connectivity
* @ingroup mbed-os-public
* @{
* @defgroup Cellular
* @ingroup connectivity-public-api
* @{
*/

Expand Down Expand Up @@ -396,6 +401,7 @@ class CellularContext : public CellularInterface {
};

/**
* @}
* @}
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const int MAX_PLMN_SIZE = 16;
const int MAX_SIM_READY_WAITING_TIME = 30;

/**
* @addtogroup cellular
* @addtogroup Cellular
* @{
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const int MAX_ICCID_LENGTH = 20 + 1; // +1 for zero termination
namespace mbed {

/**
* @addtogroup cellular
* @addtogroup Cellular
* @{
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const int MAX_OPERATOR_NAME_LONG = 16;
const int MAX_OPERATOR_NAME_SHORT = 8;

/**
* @addtogroup cellular
* @addtogroup Cellular
* @{
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const uint16_t SMS_SIM_WAIT_TIME_MILLISECONDS = 200;
const int SMS_ERROR_MULTIPART_ALL_PARTS_NOT_READ = -5001;

/**
* @addtogroup cellular
* @addtogroup Cellular
* @{
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,17 @@
#include "rtos/Semaphore.h"
#include "AT_CellularDevice.h"


const int MAX_APN_LENGTH = 63 + 1;

namespace mbed {

/**
* @addtogroup at-hayes AT/Hayes Command Set
* @ingroup Cellular
* @{
*/

class AT_CellularContext : public CellularContext {
public:
AT_CellularContext(ATHandler &at, CellularDevice *device, const char *apn = 0, bool cp_req = false, bool nonip_req = false);
Expand Down Expand Up @@ -141,6 +148,10 @@ class AT_CellularContext : public CellularContext {
ATHandler &_at;
};

/**
* @}
*/

} // namespace mbed

#endif // AT_CELLULARCONTEXT_H_
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@

namespace mbed {

/**
* @addtogroup at-hayes AT/Hayes Command Set
* @ingroup Cellular
* @{
*/

class AT_CellularInformation;
class AT_CellularNetwork;
class AT_CellularSMS;
Expand Down Expand Up @@ -202,5 +208,9 @@ class AT_CellularDevice : public CellularDevice {
const intptr_t *_property_array;
};

/**
* @}
*/

} // namespace mbed
#endif // AT_CELLULAR_DEVICE_H_
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,15 @@
#include "ATHandler.h"
#include "AT_CellularDevice.h"


namespace mbed {

/**
* @addtogroup at-hayes AT/Hayes Command Set
* @ingroup Cellular
* @{
*/

/**
* Class AT_CellularInformation
*
Expand Down Expand Up @@ -63,6 +70,10 @@ class AT_CellularInformation : public CellularInformation {
AT_CellularDevice &_device;
};

/**
* @}
*/

} // namespace mbed

#endif // AT_CELLULAR_INFORMATION_H_
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,15 @@
#include "ATHandler.h"
#include "AT_CellularDevice.h"


namespace mbed {

/**
* @addtogroup at-hayes AT/Hayes Command Set
* @ingroup Cellular
* @{
*/

#define AT_NETWORK_TRIALS 5
#define TIMER_UNIT_LENGTH 3
#define TWO_BYTES_HEX 4
Expand Down Expand Up @@ -148,6 +155,10 @@ class AT_CellularNetwork : public CellularNetwork {
AT_CellularDevice &_device;
};

/**
* @}
*/

} // namespace mbed

#endif // AT_CELLULAR_NETWORK_H_
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@
#include "AT_CellularDevice.h"
#include <time.h>


namespace mbed {

/**
* @addtogroup at-hayes AT/Hayes Command Set
* @ingroup Cellular
* @{
*/

/**
* Class AT_CellularSMS
*
Expand Down Expand Up @@ -171,6 +178,10 @@ class AT_CellularSMS: public CellularSMS {
AT_CellularDevice &_device;
};

/**
* @}
*/

} // namespace mbed

#endif //MBED_CONF_CELLULAR_USE_SMS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@
#include "rtos/Mutex.h"
#include "AT_CellularDevice.h"


namespace mbed {

/**
* @addtogroup at-hayes AT/Hayes Command Set
* @ingroup Cellular
* @{
*/

// <PDP_addr_1> and <PDP_addr_2>: each is a string type that identifies the MT in the address space applicable to the PDP.
// The string is given as dot-separated numeric (0-255) parameter of the form:
// a1.a2.a3.a4 for IPv4 and
Expand Down Expand Up @@ -215,6 +222,10 @@ class AT_CellularStack : public NetworkStack {
AT_CellularDevice &_device;
};

/**
* @}
*/

} // namespace mbed

#endif // AT_CELLULAR_STACK_H_
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,15 @@
#include "ATHandler.h"
#include "AT_CellularDevice.h"


namespace mbed {

/**
* @addtogroup at-hayes AT/Hayes Command Set
* @ingroup Cellular
* @{
*/

class AT_ControlPlane_netif: public ControlPlane_netif {
public:
AT_ControlPlane_netif(ATHandler &at, int cid, AT_CellularDevice &device);
Expand Down Expand Up @@ -63,4 +70,8 @@ class AT_ControlPlane_netif: public ControlPlane_netif {
AT_CellularDevice &_device;
};

/**
* @}
*/

} //mbed namespace
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ extern "C"
@file
@brief This file contains all of the enums and definitions that are used for the CRYS AESCCM APIs, as well as the APIs themselves.
The API supports AES-CCM and AES-CCM* as defined in ieee-802.15.4.
@defgroup crys_aesccm CryptoCell AES-CCM APIs
@{
@ingroup cryptocell_api
@note
Regarding the AES-CCM*, the API supports only AES-CCM* as defined in ieee-802.15.4-2011; With the instantiations as defined in B.3.2 and the nonce as defined in 7.3.2.
Expand Down Expand Up @@ -307,9 +303,5 @@ CRYSError_t CRYS_AESCCMStar_NonceGenerate(
}
#endif

/**
@}
*/

#endif /*#ifndef CRYS_AESCCM_H*/

Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ extern "C"
/*!
@file
@brief This module contains the definitions of the CRYS AESCCM errors.
@defgroup crys_aesccm_error CryptoCell AES-CCM specific errors
@{
@ingroup crys_aesccm
*/

/************************ Defines ******************************/
Expand Down Expand Up @@ -125,10 +123,4 @@ extern "C"
}
#endif

/**
@}
*/

#endif


#endif
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
@file
@brief This file contains all of the enums and definitions that are used for the
CRYS CHACHA APIs, as well as the APIs themselves.
@defgroup crys_chacha CryptoCell CHACHA APIs
@{
@ingroup cryptocell_api
*/
#ifndef CRYS_CHACHA_H
#define CRYS_CHACHA_H
Expand Down Expand Up @@ -222,10 +220,6 @@ CIMPORT_C CRYSError_t CRYS_CHACHA(
}
#endif

/**
@}
*/

#endif /* #ifndef CRYS_CHACHA_H */


Expand Down
Loading

0 comments on commit 961632a

Please sign in to comment.