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 ******************************************************************/
/* 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 8 to 15 are connected to DMA2 channels 1 to 8.
*

View File

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

View File

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

View File

@ -1,4 +1,4 @@
/************************************************************************************
/****************************************************************************
* arch/arm/src/stm32/stm32_pm.h
*
* 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
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************************/
****************************************************************************/
#ifndef __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
* executed, the MCU enters Sleep mode as soon as it
* exits the lowest priority ISR.
* - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep mode
* as soon as WFI or WFE instruction is executed.
* - false: SLEEPONEXIT bit is cleared, the MCU enters Sleep
* mode as soon as WFI or WFE instruction is executed.
* Returned Value:
* None
*