arch/stm32: Fix nxstyle errors (and one typo)

arch/arm/src/stm32/stm32_dma2d.h
arch/arm/src/stm32/stm32_fmc.h
arch/arm/src/stm32/stm32_freerun.h
arch/arm/src/stm32/stm32_pm.h

    * Fix nxstyle errors.

arch/arm/src/stm32/hardware/stm32g4xxxx_dmamux.h

    * Fix typo in comment.
This commit is contained in:
Nathan Hartman 2020-12-07 12:57:07 -05:00 committed by Abdelatif Guettouche
parent b2110fc09a
commit c162069cd5
5 changed files with 15 additions and 15 deletions

View File

@ -33,7 +33,7 @@
/* DMAMUX1 mapping ******************************************************************/ /* DMAMUX1 mapping ******************************************************************/
/* For category 3 and category 4 devies: /* For category 3 and category 4 devices:
* DMAMUX1 channels 0 to 7 are connected to DMA1 channels 1 to 8. * DMAMUX1 channels 0 to 7 are connected to DMA1 channels 1 to 8.
* DMAMUX1 channels 8 to 15 are connected to DMA2 channels 1 to 8. * DMAMUX1 channels 8 to 15 are connected to DMA2 channels 1 to 8.
* *

View File

@ -86,8 +86,8 @@ struct dma2d_layer_s
* *
* Description: * Description:
* Fill a specific memory region with a color. * Fill a specific memory region with a color.
* The caller must ensure that the memory region (area) is within the entire * The caller must ensure that the memory region (area) is within the
* overlay. * entire overlay.
* *
* Parameter: * Parameter:
* oinfo - Reference to overlay information * oinfo - Reference to overlay information
@ -106,9 +106,9 @@ struct dma2d_layer_s
* *
* Description: * Description:
* Copies memory from a source overlay (defined by sarea) to destination * Copies memory from a source overlay (defined by sarea) to destination
* overlay position (defined by destxpos and destypos) without pixelformat * overlay position (defined by destxpos and destypos) without
* conversion. The caller must ensure that the memory region (area) is * pixelformat conversion. The caller must ensure that the memory region
* within the entire overlay. * (area) is within the entire overlay.
* *
* Parameter: * Parameter:
* doverlay - Reference destination overlay * doverlay - Reference destination overlay
@ -159,7 +159,7 @@ struct dma2d_layer_s
}; };
/**************************************************************************** /****************************************************************************
* Public Functions * Public Function Prototypes
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************

View File

@ -46,7 +46,7 @@
#include "hardware/stm32_fmc.h" #include "hardware/stm32_fmc.h"
/**************************************************************************** /****************************************************************************
* Public Functions * Public Function Prototypes
****************************************************************************/ ****************************************************************************/
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__

View File

@ -55,9 +55,9 @@
****************************************************************************/ ****************************************************************************/
/* The freerun client must allocate an instance of this structure and called /* The freerun client must allocate an instance of this structure and called
* stm32_freerun_initialize() before using the freerun facilities. The client * stm32_freerun_initialize() before using the freerun facilities. The
* should not access the contents of this structure directly since the * client should not access the contents of this structure directly since
* contents are subject to change. * the contents are subject to change.
*/ */
struct stm32_freerun_s struct stm32_freerun_s

View File

@ -1,4 +1,4 @@
/************************************************************************************ /****************************************************************************
* arch/arm/src/stm32/stm32_pm.h * arch/arm/src/stm32/stm32_pm.h
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
@ -31,7 +31,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
* *
************************************************************************************/ ****************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_STM32_PM_H #ifndef __ARCH_ARM_SRC_STM32_STM32_PM_H
#define __ARCH_ARM_SRC_STM32_STM32_PM_H #define __ARCH_ARM_SRC_STM32_STM32_PM_H
@ -122,8 +122,8 @@ int stm32_pmstandby(void);
* sleeponexit - true: SLEEPONEXIT bit is set when the WFI instruction is * sleeponexit - true: SLEEPONEXIT bit is set when the WFI instruction is
* executed, the MCU enters Sleep mode as soon as it * executed, the MCU enters Sleep mode as soon as it
* exits the lowest priority ISR. * exits the lowest priority ISR.
* - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep mode * - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep
* as soon as WFI or WFE instruction is executed. * mode as soon as WFI or WFE instruction is executed.
* Returned Value: * Returned Value:
* None * None
* *