diff --git a/arch/arm/src/stm32/stm32_exti.h b/arch/arm/src/stm32/stm32_exti.h index 12d469d9cf9..4848df5e25c 100644 --- a/arch/arm/src/stm32/stm32_exti.h +++ b/arch/arm/src/stm32/stm32_exti.h @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/src/stm32/stm32_exti.h * * Copyright (C) 2009, 2012, 2015, 2017 Gregory Nutt. All rights reserved. @@ -31,14 +31,14 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ #ifndef __ARCH_ARM_SRC_STM32_STM32_EXTI_H #define __ARCH_ARM_SRC_STM32_STM32_EXTI_H -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include @@ -47,9 +47,9 @@ #include "chip.h" #include "hardware/stm32_exti.h" -/************************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************************/ + ****************************************************************************/ #ifndef __ASSEMBLY__ @@ -62,11 +62,11 @@ extern "C" #define EXTERN extern #endif -/************************************************************************************ +/**************************************************************************** * Public Function Prototypes - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ +/**************************************************************************** * Name: stm32_gpiosetevent * * Description: @@ -83,12 +83,12 @@ extern "C" * Zero (OK) on success; a negated errno value on failure indicating the * nature of the failure. * - ************************************************************************************/ + ****************************************************************************/ int stm32_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge, bool event, xcpt_t func, void *arg); -/************************************************************************************ +/**************************************************************************** * Name: stm32_exti_alarm * * Description: @@ -104,11 +104,11 @@ int stm32_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge, * Zero (OK) on success; a negated errno value on failure indicating the * nature of the failure. * - ************************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_RTC_ALARM -int stm32_exti_alarm(bool risingedge, bool fallingedge, bool event, xcpt_t func, - void *arg); +int stm32_exti_alarm(bool risingedge, bool fallingedge, bool event, + xcpt_t func, void *arg); #endif /**************************************************************************** diff --git a/arch/arm/src/stm32/stm32_flash.c b/arch/arm/src/stm32/stm32_flash.c index f9ec357ac87..4f70e8a5b8d 100644 --- a/arch/arm/src/stm32/stm32_flash.c +++ b/arch/arm/src/stm32/stm32_flash.c @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/src/stm32/stm32_flash.c * * Copyright (C) 2011 Uros Platise. All rights reserved. @@ -31,15 +31,15 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ -/* Provides standard flash access functions, to be used by the flash mtd driver. - * The interface is defined in the include/nuttx/progmem.h +/* Provides standard flash access functions, to be used by the flash mtd + * driver. The interface is defined in the include/nuttx/progmem.h */ -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include @@ -54,3 +54,7 @@ #else # warning "No FLASH support for the selected part" #endif + +/**************************************************************************** + * Private Functions + ****************************************************************************/ diff --git a/arch/arm/src/stm32/stm32_fsmc.c b/arch/arm/src/stm32/stm32_fsmc.c index a7f57c142da..93fd9cdd91c 100644 --- a/arch/arm/src/stm32/stm32_fsmc.c +++ b/arch/arm/src/stm32/stm32_fsmc.c @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/src/stm32/stm32_fsmc.c * * Copyright (C) 2019 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include @@ -43,9 +43,9 @@ #if defined(CONFIG_STM32_FSMC) -/************************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: stm32_fsmc_enable diff --git a/arch/arm/src/stm32/stm32_fsmc.h b/arch/arm/src/stm32/stm32_fsmc.h index 441f32675cb..620ace3955b 100644 --- a/arch/arm/src/stm32/stm32_fsmc.h +++ b/arch/arm/src/stm32/stm32_fsmc.h @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/src/stm32/stm32_fsmc.h * * Copyright (C) 2019 Gregory Nutt. All rights reserved. @@ -31,23 +31,23 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ #ifndef __ARCH_ARM_SRC_STM32_STM32_FSMC_H #define __ARCH_ARM_SRC_STM32_STM32_FSMC_H -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include #include "chip.h" #include "hardware/stm32_fsmc.h" -/************************************************************************************ - * Public Functions - ************************************************************************************/ +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ #ifndef __ASSEMBLY__ diff --git a/arch/arm/src/stm32/stm32_hciuart.h b/arch/arm/src/stm32/stm32_hciuart.h index c0806baf6df..f074d6b90f7 100644 --- a/arch/arm/src/stm32/stm32_hciuart.h +++ b/arch/arm/src/stm32/stm32_hciuart.h @@ -77,7 +77,8 @@ enum hciuart_devno_e * ****************************************************************************/ -const struct btuart_lowerhalf_s *hciuart_instantiate(enum hciuart_devno_e uart); +const struct btuart_lowerhalf_s * +hciuart_instantiate(enum hciuart_devno_e uart); /**************************************************************************** * Name: hciuart_initialize diff --git a/arch/arm/src/stm32/stm32_mpuinit.h b/arch/arm/src/stm32/stm32_mpuinit.h index 6d76db47ee5..0814dd507fe 100644 --- a/arch/arm/src/stm32/stm32_mpuinit.h +++ b/arch/arm/src/stm32/stm32_mpuinit.h @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/src/stm32/stm32_mpuinit.h * * Copyright (C) 2013 Gregory Nutt. All rights reserved. @@ -31,32 +31,32 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ #ifndef __ARCH_ARM_SRC_STM32_STM32_MPUINIT_H #define __ARCH_ARM_SRC_STM32_STM32_MPUINIT_H -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include -/************************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ +/**************************************************************************** * Public Types - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ - * Public Functions - ************************************************************************************/ +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ /**************************************************************************** * Name: stm32_mpuinitialize diff --git a/arch/arm/src/stm32/stm32_rtc.c b/arch/arm/src/stm32/stm32_rtc.c index f78e2b36245..5994afcee68 100644 --- a/arch/arm/src/stm32/stm32_rtc.c +++ b/arch/arm/src/stm32/stm32_rtc.c @@ -41,14 +41,11 @@ #include "chip.h" -/**************************************************************************** - * Public Functions - ****************************************************************************/ - -/* This file is only a thin shell that includes the correct RTC implementation - * for the selected STM32 family. The correct file cannot be selected by - * the make system because it needs the intelligence that only exists in - * chip.h that can associate an STM32 part number with an STM32 family. +/* This file is only a thin shell that includes the correct RTC + * implementation for the selected STM32 family. The correct file cannot be + * selected by the make system because it needs the intelligence that only + * exists in chip.h that can associate an STM32 part number with an STM32 + * family. */ /* The STM32 F1 has a simple battery-backed counter for its RTC and has a @@ -58,9 +55,9 @@ #if defined(CONFIG_STM32_STM32F10XX) # include "stm32_rtcounter.c" -/* The other families use a more traditional Realtime Clock/Calendar (RTCC) with - * broken-out data/time in BCD format. The backup registers are integrated into - * the RTCC in these families. +/* The other families use a more traditional Realtime Clock/Calendar (RTCC) + * with broken-out data/time in BCD format. The backup registers are + * integrated into the RTCC in these families. */ #elif defined(CONFIG_STM32_STM32F20XX) || \ @@ -71,3 +68,7 @@ #elif defined(CONFIG_STM32_STM32F4XXX) # include "stm32f40xxx_rtcc.c" #endif + +/**************************************************************************** + * Public Functions + ****************************************************************************/