diff --git a/doxyfile_options b/doxyfile_options index c97e13de78..ad9497fc1d 100644 --- a/doxyfile_options +++ b/doxyfile_options @@ -2070,6 +2070,7 @@ PREDEFINED = DOXYGEN_ONLY \ DEVICE_I2CSLAVE \ DEVICE_I2C_ASYNCH \ DEVICE_INTERRUPTIN \ + DEVICE_ITM \ DEVICE_LOWPOWERTIMER \ DEVICE_PORTIN \ DEVICE_PORTINOUT \ diff --git a/doxygen_options.json b/doxygen_options.json index eed31ad6cb..f25f70ce43 100644 --- a/doxygen_options.json +++ b/doxygen_options.json @@ -6,7 +6,7 @@ "SEARCH_INCLUDES": "YES", "INCLUDE_PATH": "", "INCLUDE_FILE_PATTERNS": "", - "PREDEFINED": "DOXYGEN_ONLY DEVICE_ANALOGIN DEVICE_ANALOGOUT DEVICE_CAN DEVICE_ETHERNET DEVICE_EMAC DEVICE_FLASH DEVICE_I2C DEVICE_I2CSLAVE DEVICE_I2C_ASYNCH DEVICE_INTERRUPTIN DEVICE_LOWPOWERTIMER DEVICE_PORTIN DEVICE_PORTINOUT DEVICE_PORTOUT DEVICE_PWMOUT DEVICE_RTC DEVICE_TRNG DEVICE_SERIAL DEVICE_SERIAL_ASYNCH DEVICE_SERIAL_FC DEVICE_SLEEP DEVICE_SPI DEVICE_SPI_ASYNCH DEVICE_SPISLAVE DEVICE_STORAGE \"MBED_DEPRECATED_SINCE(f, g)=\" \"MBED_ENABLE_IF_CALLBACK_COMPATIBLE(F, M)=\" \"MBED_DEPRECATED(s)=\"", + "PREDEFINED": "DOXYGEN_ONLY DEVICE_ANALOGIN DEVICE_ANALOGOUT DEVICE_CAN DEVICE_ETHERNET DEVICE_EMAC DEVICE_FLASH DEVICE_I2C DEVICE_I2CSLAVE DEVICE_I2C_ASYNCH DEVICE_INTERRUPTIN DEVICE_ITM DEVICE_LOWPOWERTIMER DEVICE_PORTIN DEVICE_PORTINOUT DEVICE_PORTOUT DEVICE_PWMOUT DEVICE_RTC DEVICE_TRNG DEVICE_SERIAL DEVICE_SERIAL_ASYNCH DEVICE_SERIAL_FC DEVICE_SLEEP DEVICE_SPI DEVICE_SPI_ASYNCH DEVICE_SPISLAVE DEVICE_STORAGE \"MBED_DEPRECATED_SINCE(f, g)=\" \"MBED_ENABLE_IF_CALLBACK_COMPATIBLE(F, M)=\" \"MBED_DEPRECATED(s)=\"", "EXPAND_AS_DEFINED": "", "SKIP_FUNCTION_MACROS": "NO", "EXCLUDE_PATTERNS": "*/tools/* */targets/* */features/mbedtls/* */features/storage/* */features/unsupported/* */BUILD/* */rtos/TARGET_CORTEX/rtx*/* */cmsis/* */features/FEATURE_COMMON_PAL/* */features/FEATURE_LWIP/* */features/FEATURE_UVISOR/* */features/nanostack/* */ble/generic/* */ble/pal/*" diff --git a/hal/itm_api.h b/hal/itm_api.h index 0c5a739c43..c773963fd2 100644 --- a/hal/itm_api.h +++ b/hal/itm_api.h @@ -1,3 +1,5 @@ +/** \addtogroup hal */ +/** @{*/ /* mbed Microcontroller Library * Copyright (c) 2017 ARM Limited * @@ -26,8 +28,7 @@ extern "C" { #endif /** - * @defgroup hal_itm_port ITM Stimulus Ports - * + * \defgroup itm_hal Instrumented Trace Macrocell HAL API * @{ */ @@ -35,13 +36,6 @@ enum { ITM_PORT_SWO = 0 }; -/**@}*/ - -/** - * \defgroup itm_hal Instrumented Trace Macrocell HAL API - * @{ - */ - /** * @brief Target specific initialization function. * This function is responsible for initializing and configuring @@ -89,3 +83,5 @@ uint32_t mbed_itm_send(uint32_t port, uint32_t data); #endif #endif /* MBED_ITM_API_H */ + +/**@}*/