@@ -460,15 +460,15 @@ typedef struct
460460
461461/**
462462 * @brief Enable the ADC peripheral
463- * @param __HANDLE__: ADC handle
463+ * @param __HANDLE__ ADC handle
464464 * @retval None
465465 */
466466#define __HAL_ADC_ENABLE (__HANDLE__ ) \
467467 ((__HANDLE__)->Instance->CR |= ADC_CR_ADEN)
468468
469469/**
470470 * @brief Disable the ADC peripheral
471- * @param __HANDLE__: ADC handle
471+ * @param __HANDLE__ ADC handle
472472 * @retval None
473473 */
474474#define __HAL_ADC_DISABLE (__HANDLE__ ) \
@@ -479,8 +479,8 @@ typedef struct
479479
480480/**
481481 * @brief Enable the ADC end of conversion interrupt.
482- * @param __HANDLE__: ADC handle
483- * @param __INTERRUPT__: ADC Interrupt
482+ * @param __HANDLE__ ADC handle
483+ * @param __INTERRUPT__ ADC Interrupt
484484 * This parameter can be any combination of the following values:
485485 * @arg ADC_IT_EOC: ADC End of Regular Conversion interrupt source
486486 * @arg ADC_IT_EOS: ADC End of Regular sequence of Conversions interrupt source
@@ -495,8 +495,8 @@ typedef struct
495495
496496/**
497497 * @brief Disable the ADC end of conversion interrupt.
498- * @param __HANDLE__: ADC handle
499- * @param __INTERRUPT__: ADC Interrupt
498+ * @param __HANDLE__ ADC handle
499+ * @param __INTERRUPT__ ADC Interrupt
500500 * This parameter can be any combination of the following values:
501501 * @arg ADC_IT_EOC: ADC End of Regular Conversion interrupt source
502502 * @arg ADC_IT_EOS: ADC End of Regular sequence of Conversions interrupt source
@@ -510,8 +510,8 @@ typedef struct
510510 (((__HANDLE__)->Instance->IER) &= ~(__INTERRUPT__))
511511
512512/** @brief Checks if the specified ADC interrupt source is enabled or disabled.
513- * @param __HANDLE__: ADC handle
514- * @param __INTERRUPT__: ADC interrupt source to check
513+ * @param __HANDLE__ ADC handle
514+ * @param __INTERRUPT__ ADC interrupt source to check
515515 * This parameter can be any combination of the following values:
516516 * @arg ADC_IT_EOC: ADC End of Regular Conversion interrupt source
517517 * @arg ADC_IT_EOS: ADC End of Regular sequence of Conversions interrupt source
@@ -526,8 +526,8 @@ typedef struct
526526
527527/**
528528 * @brief Get the selected ADC's flag status.
529- * @param __HANDLE__: ADC handle
530- * @param __FLAG__: ADC flag
529+ * @param __HANDLE__ ADC handle
530+ * @param __FLAG__ ADC flag
531531 * This parameter can be any combination of the following values:
532532 * @arg ADC_FLAG_EOC: ADC End of Regular conversion flag
533533 * @arg ADC_FLAG_EOS: ADC End of Regular sequence of Conversions flag
@@ -542,8 +542,8 @@ typedef struct
542542
543543/**
544544 * @brief Clear the ADC's pending flags
545- * @param __HANDLE__: ADC handle
546- * @param __FLAG__: ADC flag
545+ * @param __HANDLE__ ADC handle
546+ * @param __FLAG__ ADC flag
547547 * This parameter can be any combination of the following values:
548548 * @arg ADC_FLAG_EOC: ADC End of Regular conversion flag
549549 * @arg ADC_FLAG_EOS: ADC End of Regular sequence of Conversions flag
@@ -558,7 +558,7 @@ typedef struct
558558 (((__HANDLE__)->Instance->ISR) = (__FLAG__))
559559
560560/** @brief Reset ADC handle state
561- * @param __HANDLE__: ADC handle
561+ * @param __HANDLE__ ADC handle
562562 * @retval None
563563 */
564564#define __HAL_ADC_RESET_HANDLE_STATE (__HANDLE__ ) \
@@ -580,7 +580,7 @@ typedef struct
580580
581581/**
582582 * @brief Verification of hardware constraints before ADC can be enabled
583- * @param __HANDLE__: ADC handle
583+ * @param __HANDLE__ ADC handle
584584 * @retval SET (ADC can be enabled) or RESET (ADC cannot be enabled)
585585 */
586586#define ADC_ENABLING_CONDITIONS (__HANDLE__ ) \
@@ -591,7 +591,7 @@ typedef struct
591591
592592/**
593593 * @brief Verification of hardware constraints before ADC can be disabled
594- * @param __HANDLE__: ADC handle
594+ * @param __HANDLE__ ADC handle
595595 * @retval SET (ADC can be disabled) or RESET (ADC cannot be disabled)
596596 */
597597#define ADC_DISABLING_CONDITIONS (__HANDLE__ ) \
@@ -601,7 +601,7 @@ typedef struct
601601
602602/**
603603 * @brief Verification of ADC state: enabled or disabled
604- * @param __HANDLE__: ADC handle
604+ * @param __HANDLE__ ADC handle
605605 * @retval SET (ADC enabled) or RESET (ADC disabled)
606606 */
607607/* Note: If low power mode AutoPowerOff is enabled, power-on/off phases are */
@@ -616,15 +616,15 @@ typedef struct
616616/**
617617 * @brief Test if conversion trigger of regular group is software start
618618 * or external trigger.
619- * @param __HANDLE__: ADC handle
619+ * @param __HANDLE__ ADC handle
620620 * @retval SET (software start) or RESET (external trigger)
621621 */
622622#define ADC_IS_SOFTWARE_START_REGULAR (__HANDLE__ ) \
623623 (((__HANDLE__)->Instance->CFGR1 & ADC_CFGR1_EXTEN) == RESET)
624624
625625/**
626626 * @brief Check if no conversion on going on regular group
627- * @param __HANDLE__: ADC handle
627+ * @param __HANDLE__ ADC handle
628628 * @retval SET (conversion is on going) or RESET (no conversion is on going)
629629 */
630630#define ADC_IS_CONVERSION_ONGOING_REGULAR (__HANDLE__ ) \
@@ -634,7 +634,7 @@ typedef struct
634634/**
635635 * @brief Returns resolution bits in CFGR1 register: RES[1:0].
636636 * Returned value is among parameters to @ref ADC_Resolution.
637- * @param __HANDLE__: ADC handle
637+ * @param __HANDLE__ ADC handle
638638 * @retval None
639639 */
640640#define ADC_GET_RESOLUTION (__HANDLE__ ) \
@@ -643,7 +643,7 @@ typedef struct
643643/**
644644 * @brief Returns ADC sample time bits in SMPR register: SMP[2:0].
645645 * Returned value is among parameters to @ref ADC_Resolution.
646- * @param __HANDLE__: ADC handle
646+ * @param __HANDLE__ ADC handle
647647 * @retval None
648648 */
649649#define ADC_GET_SAMPLINGTIME (__HANDLE__ ) \
@@ -660,7 +660,7 @@ typedef struct
660660
661661/**
662662 * @brief Clear ADC error code (set it to error code: "no error")
663- * @param __HANDLE__: ADC handle
663+ * @param __HANDLE__ ADC handle
664664 * @retval None
665665 */
666666#define ADC_CLEAR_ERRORCODE (__HANDLE__ ) \
@@ -669,7 +669,7 @@ typedef struct
669669
670670/**
671671 * @brief Configure the channel number into channel selection register
672- * @param _CHANNEL_: ADC Channel
672+ * @param _CHANNEL_ ADC Channel
673673 * @retval None
674674 */
675675/* This function converts ADC channels from numbers (see defgroup ADC_channels)
@@ -699,7 +699,7 @@ typedef struct
699699
700700/**
701701 * @brief Set the ADC's sample time
702- * @param _SAMPLETIME_: Sample time parameter.
702+ * @param _SAMPLETIME_ Sample time parameter.
703703 * @retval None
704704 */
705705/* Note: ADC sampling time set using mask ADC_SMPR_SMP due to parameter */
@@ -712,47 +712,47 @@ typedef struct
712712
713713/**
714714 * @brief Set the Analog Watchdog 1 channel.
715- * @param _CHANNEL_: channel to be monitored by Analog Watchdog 1.
715+ * @param _CHANNEL_ channel to be monitored by Analog Watchdog 1.
716716 * @retval None
717717 */
718718#define ADC_CFGR_AWDCH (_CHANNEL_ ) \
719719 ((_CHANNEL_) << 26U)
720720
721721/**
722722 * @brief Enable ADC discontinuous conversion mode for regular group
723- * @param _REG_DISCONTINUOUS_MODE_: Regular discontinuous mode.
723+ * @param _REG_DISCONTINUOUS_MODE_ Regular discontinuous mode.
724724 * @retval None
725725 */
726726#define ADC_CFGR1_REG_DISCCONTINUOUS (_REG_DISCONTINUOUS_MODE_ ) \
727727 ((_REG_DISCONTINUOUS_MODE_) << 16U)
728728
729729/**
730730 * @brief Enable the ADC auto off mode.
731- * @param _AUTOOFF_: Auto off bit enable or disable.
731+ * @param _AUTOOFF_ Auto off bit enable or disable.
732732 * @retval None
733733 */
734734#define ADC_CFGR1_AUTOOFF (_AUTOOFF_ ) \
735735 ((_AUTOOFF_) << 15U)
736736
737737/**
738738 * @brief Enable the ADC auto delay mode.
739- * @param _AUTOWAIT_: Auto delay bit enable or disable.
739+ * @param _AUTOWAIT_ Auto delay bit enable or disable.
740740 * @retval None
741741 */
742742#define ADC_CFGR1_AUTOWAIT (_AUTOWAIT_ ) \
743743 ((_AUTOWAIT_) << 14U)
744744
745745/**
746746 * @brief Enable ADC continuous conversion mode.
747- * @param _CONTINUOUS_MODE_: Continuous mode.
747+ * @param _CONTINUOUS_MODE_ Continuous mode.
748748 * @retval None
749749 */
750750#define ADC_CFGR1_CONTINUOUS (_CONTINUOUS_MODE_ ) \
751751 ((_CONTINUOUS_MODE_) << 13U)
752752
753753/**
754754 * @brief Enable ADC overrun mode.
755- * @param _OVERRUN_MODE_: Overrun mode.
755+ * @param _OVERRUN_MODE_ Overrun mode.
756756 * @retval Overun bit setting to be programmed into CFGR register
757757 */
758758/* Note: Bit ADC_CFGR1_OVRMOD not used directly in constant */
@@ -765,7 +765,7 @@ typedef struct
765765
766766/**
767767 * @brief Enable ADC scan mode to convert multiple ranks with sequencer.
768- * @param _SCAN_MODE_: Scan conversion mode.
768+ * @param _SCAN_MODE_ Scan conversion mode.
769769 * @retval None
770770 */
771771/* Note: Scan mode set using this macro (instead of parameter direct set) */
@@ -779,15 +779,15 @@ typedef struct
779779
780780/**
781781 * @brief Enable the ADC DMA continuous request.
782- * @param _DMACONTREQ_MODE_: DMA continuous request mode.
782+ * @param _DMACONTREQ_MODE_ DMA continuous request mode.
783783 * @retval None
784784 */
785785#define ADC_CFGR1_DMACONTREQ (_DMACONTREQ_MODE_ ) \
786786 ((_DMACONTREQ_MODE_) << 1U)
787787
788788/**
789789 * @brief Configure the analog watchdog high threshold into register TR.
790- * @param _Threshold_: Threshold value
790+ * @param _Threshold_ Threshold value
791791 * @retval None
792792 */
793793#define ADC_TRX_HIGHTHRESHOLD (_Threshold_ ) \
@@ -801,8 +801,8 @@ typedef struct
801801 * If resolution 8 bits, shift of 4 ranks on the left.
802802 * If resolution 6 bits, shift of 6 ranks on the left.
803803 * therefore, shift = (12 - resolution) = 12 - (12- (((RES[1:0]) >> 3)*2))
804- * @param __HANDLE__: ADC handle
805- * @param _Threshold_: Value to be shifted
804+ * @param __HANDLE__ ADC handle
805+ * @param _Threshold_ Value to be shifted
806806 * @retval None
807807 */
808808#define ADC_AWD1THRESHOLD_SHIFT_RESOLUTION (__HANDLE__ , _Threshold_ ) \
0 commit comments