diff --git a/arch/arm/include/tiva/cc13x0_irq.h b/arch/arm/include/tiva/cc13x0_irq.h index c2350efa61..16a1e794b9 100644 --- a/arch/arm/include/tiva/cc13x0_irq.h +++ b/arch/arm/include/tiva/cc13x0_irq.h @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/include/tiva/cc13x0_irq.h * * Copyright (C) 2018 Gregory Nutt. All rights reserved. @@ -31,24 +31,24 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ #ifndef __ARCH_ARM_INCLUDE_TIVA_CC13X0_IRQ_H #define __ARCH_ARM_INCLUDE_TIVA_CC13X0_IRQ_H -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include -/****************************************************************************** +/**************************************************************************** * Pre-processor Definitions - ******************************************************************************/ + ****************************************************************************/ -/* IRQ numbers. The IRQ number corresponds vector number and hence map directly to - * bits in the NVIC. This does, however, waste several words of memory in the IRQ - * to handle mapping tables. +/* IRQ numbers. The IRQ number corresponds vector number and hence map + * directly to bits in the NVIC. This does, however, waste several words of + * memory in the IRQ to handle mapping tables. */ /* External interrupts (vectors >= 16) */ diff --git a/arch/arm/include/tiva/cc13x2_cc26x2_irq.h b/arch/arm/include/tiva/cc13x2_cc26x2_irq.h index dc2bd46290..3ba2f9a926 100644 --- a/arch/arm/include/tiva/cc13x2_cc26x2_irq.h +++ b/arch/arm/include/tiva/cc13x2_cc26x2_irq.h @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/include/tiva/cc13x2_cc26x2_irq.h * * Copyright (C) 2018 Gregory Nutt. All rights reserved. @@ -31,24 +31,24 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ #ifndef __ARCH_ARM_INCLUDE_TIVA_CC13X2_CC26x2_IRQ_H #define __ARCH_ARM_INCLUDE_TIVA_CC13X2_CC26x2_IRQ_H -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include -/****************************************************************************** +/**************************************************************************** * Pre-processor Definitions - ******************************************************************************/ + ****************************************************************************/ -/* IRQ numbers. The IRQ number corresponds vector number and hence map directly to - * bits in the NVIC. This does, however, waste several words of memory in the IRQ - * to handle mapping tables. +/* IRQ numbers. The IRQ number corresponds vector number and hence map + * directly to bits in the NVIC. This does, however, waste several words of + * memory in the IRQ to handle mapping tables. */ /* External interrupts (vectors >= 16) */ diff --git a/arch/arm/include/tiva/chip.h b/arch/arm/include/tiva/chip.h index 589f5ef10a..23fac67147 100644 --- a/arch/arm/include/tiva/chip.h +++ b/arch/arm/include/tiva/chip.h @@ -1,4 +1,4 @@ -/************************************************************************************ +/**************************************************************************** * arch/arm/include/tiva/chip.h * * Copyright (C) 2009-2010, 2013-2014 Gregory Nutt. All rights reserved. @@ -33,20 +33,20 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************************/ + ****************************************************************************/ #ifndef __ARCH_ARM_INCLUDE_TIVA_CHIP_H #define __ARCH_ARM_INCLUDE_TIVA_CHIP_H -/************************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************************/ + ****************************************************************************/ #include -/************************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************************/ + ****************************************************************************/ /* Get customizations for each supported chip */ @@ -125,7 +125,8 @@ # define TIVA_NAES 0 /* No AES module */ # define TIVA_NDES 0 /* No DES module */ # define TIVA_NHASH 0 /* No SHA1/MD5 hash module */ -#elif defined(CONFIG_ARCH_CHIP_LM3S9B96) || defined(CONFIG_ARCH_CHIP_LM3S9B92) +#elif defined(CONFIG_ARCH_CHIP_LM3S9B96) || \ + defined(CONFIG_ARCH_CHIP_LM3S9B92) # define LM3S 1 /* LM3S family */ # undef LM4F /* Not LM4F family */ # undef TM4C /* Not TM4C family */ @@ -199,7 +200,8 @@ # define TIVA_NAES 0 /* No AES module */ # define TIVA_NDES 0 /* No DES module */ # define TIVA_NHASH 0 /* No SHA1/MD5 hash module */ -#elif defined(CONFIG_ARCH_CHIP_TM4C123GH6PGE) || defined(CONFIG_ARCH_CHIP_TM4C123GH6PZ) || \ +#elif defined(CONFIG_ARCH_CHIP_TM4C123GH6PGE) || \ + defined(CONFIG_ARCH_CHIP_TM4C123GH6PZ) || \ defined(CONFIG_ARCH_CHIP_TM4C123GH6ZRB) # undef LM3S /* Not LM3S family */ # undef LM4F /* Not LM4F family */ @@ -411,11 +413,11 @@ # error "Capabilities not specified for this TIVA/Stellaris chip" #endif -/* The TIVA/Stellaris only supports 8 priority levels. The hardware priority - * mechanism will only look at the upper N bits of the 8-bit priority level - * (where N is 3 for the Tiva/Stellaris family), so any prioritization must be - * performed in those bits. The default priority level is set to the middle - * value +/* The TIVA/Stellaris only supports 8 priority levels. The hardware + * priority mechanism will only look at the upper N bits of the 8-bit + * priority level (where N is 3 for the Tiva/Stellaris family), so any + * prioritization must be performed in those bits. The default priority + * level is set to the middle value */ #define NVIC_SYSH_PRIORITY_MIN 0xe0 /* Bits [7:5] set in minimum priority */ @@ -423,13 +425,13 @@ #define NVIC_SYSH_PRIORITY_MAX 0x00 /* Zero is maximum priority */ #define NVIC_SYSH_PRIORITY_STEP 0x20 /* Three bits of interrupt priority used */ -/************************************************************************************ +/**************************************************************************** * Public Types - ************************************************************************************/ + ****************************************************************************/ -/************************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Function Prototypes diff --git a/arch/arm/include/tiva/irq.h b/arch/arm/include/tiva/irq.h index d0dedc9ced..b5ab005799 100644 --- a/arch/arm/include/tiva/irq.h +++ b/arch/arm/include/tiva/irq.h @@ -47,7 +47,7 @@ * Pre-processor Definitions ************************************************************************************/ - /* Mark GPIO interrupts as disabled for non-existent GPIO ports. */ +/* Mark GPIO interrupts as disabled for non-existent GPIO ports. */ #if TIVA_NPORTS < 1 # undef CONFIG_TIVA_GPIOA_IRQS @@ -124,6 +124,10 @@ #define TIVA_IRQ_INTERRUPTS (16) /* Vector number of the first external interrupt */ +/************************************************************************************ + * Included Files + ************************************************************************************/ + #if defined(CONFIG_ARCH_CHIP_LM3S) # include #elif defined(CONFIG_ARCH_CHIP_LM4F) @@ -147,7 +151,7 @@ ************************************************************************************/ /************************************************************************************ - * Public Functions + * Public Function Prototypes ************************************************************************************/ #endif /* __ARCH_ARM_INCLUDE_TIVA_IRQ_H */ diff --git a/arch/arm/include/tiva/lm3s_irq.h b/arch/arm/include/tiva/lm3s_irq.h index 65eb8c7293..e4d285ef67 100644 --- a/arch/arm/include/tiva/lm3s_irq.h +++ b/arch/arm/include/tiva/lm3s_irq.h @@ -533,7 +533,7 @@ extern "C" #endif /************************************************************************************ - * Public Functions + * Public Function Prototypes ************************************************************************************/ #ifdef __cplusplus diff --git a/arch/arm/include/tiva/lm4f_irq.h b/arch/arm/include/tiva/lm4f_irq.h index 69ae1542dc..a0135b1cad 100644 --- a/arch/arm/include/tiva/lm4f_irq.h +++ b/arch/arm/include/tiva/lm4f_irq.h @@ -364,7 +364,7 @@ extern "C" #endif /************************************************************************************ - * Public Functions + * Public Function Prototypes ************************************************************************************/ #ifdef __cplusplus diff --git a/arch/arm/include/tiva/tm4c_irq.h b/arch/arm/include/tiva/tm4c_irq.h index e56a1327a6..514da4ad1b 100644 --- a/arch/arm/include/tiva/tm4c_irq.h +++ b/arch/arm/include/tiva/tm4c_irq.h @@ -1074,7 +1074,7 @@ extern "C" #endif /************************************************************************************ - * Public Functions + * Public Function Prototypess ************************************************************************************/ #ifdef __cplusplus