nxstyle fixes

This commit is contained in:
raiden00pl 2020-08-11 07:53:21 +02:00 committed by Abdelatif Guettouche
parent 451a255146
commit 7879fba9f4
2 changed files with 33 additions and 25 deletions

View File

@ -77,7 +77,7 @@
#define HSERDY_TIMEOUT (100 * CONFIG_BOARD_LOOPSPERMSEC)
/****************************************************************************
* Private Functions
* Included Files
****************************************************************************/
/* Include chip-specific clocking initialization logic */
@ -101,9 +101,9 @@
*
* Description:
* The RTC needs to reset the Backup Domain to change RTCSEL and resetting
* the Backup Domain renders to disabling the LSE as consequence. In order
* to avoid resetting the Backup Domain when we already configured LSE we
* will reset the Backup Domain early (here).
* the Backup Domain renders to disabling the LSE as consequence.
* In order to avoid resetting the Backup Domain when we already configured
* LSE we will reset the Backup Domain early (here).
*
* Input Parameters:
* None
@ -155,8 +155,8 @@ static inline void rcc_resetbkp(void)
* configuration file.
*
* If CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG is defined, then clocking
* will be enabled by an externally provided, board-specific function called
* stm32_board_clockconfig().
* will be enabled by an externally provided, board-specific function
* called stm32_board_clockconfig().
*
* Input Parameters:
* None
@ -182,7 +182,9 @@ void stm32_clockconfig(void)
stm32_board_clockconfig();
#else
/* Invoke standard, fixed clock configuration based on definitions in board.h */
/* Invoke standard, fixed clock configuration based on definitions
* in board.h
*/
stm32_stdclockconfig();
@ -227,7 +229,9 @@ void stm32_clockenable(void)
stm32_board_clockconfig();
#else
/* Invoke standard, fixed clock configuration based on definitions in board.h */
/* Invoke standard, fixed clock configuration based on definitions
* in board.h
*/
stm32_stdclockconfig();

View File

@ -71,7 +71,7 @@
****************************************************************************/
/****************************************************************************
* Private Functions
* Included Files
****************************************************************************/
/* Include chip-specific clocking initialization logic */
@ -100,8 +100,8 @@
* configurationfile.
*
* If CONFIG_STM32F7_CUSTOM_CLOCKCONFIG is defined, then clocking
* will be enabled by an externally provided, board-specific function called
* stm32_board_clockconfig().
* will be enabled by an externally provided, board-specific function
* called stm32_board_clockconfig().
*
* Input Parameters:
* None
@ -109,7 +109,7 @@
* Returned Value:
* None
*
************************************************************************************/
****************************************************************************/
void stm32_clockconfig(void)
{
@ -132,7 +132,9 @@ void stm32_clockconfig(void)
#else
/* Invoke standard, fixed clock configuration based on definitions in board.h */
/* Invoke standard, fixed clock configuration based on definitions
* in board.h
*/
stm32_stdclockconfig();
@ -149,22 +151,22 @@ void stm32_clockconfig(void)
#endif
}
/************************************************************************************
/****************************************************************************
* Name: stm32_clockenable
*
* Description:
* Re-enable the clock and restore the clock settings based on settings in board.h.
* This function is only available to support low-power modes of operation: When
* re-awakening from deep-sleep modes, it is necessary to re-enable/re-start the
* PLL
* Re-enable the clock and restore the clock settings based on settings
* in board.h. This function is only available to support low-power
* modes of operation: When re-awakening from deep-sleep modes, it is
* necessary to re-enable/re-start the PLL
*
* This functional performs a subset of the operations performed by
* stm32_clockconfig(): It does not reset any devices, and it does not reset the
* currently enabled peripheral clocks.
* stm32_clockconfig(): It does not reset any devices, and it does not
* reset the currently enabled peripheral clocks.
*
* If CONFIG_STM32F7_CUSTOM_CLOCKCONFIG is defined, then clocking will be enabled
* by an externally provided, board-specific function called
* stm32_board_clockconfig().
* If CONFIG_STM32F7_CUSTOM_CLOCKCONFIG is defined, then clocking
* will be enabled by an externally provided, board-specific function
* called stm32_board_clockconfig().
*
* Input Parameters:
* None
@ -172,7 +174,7 @@ void stm32_clockconfig(void)
* Returned Value:
* None
*
************************************************************************************/
****************************************************************************/
#ifdef CONFIG_PM
void stm32_clockenable(void)
@ -185,7 +187,9 @@ void stm32_clockenable(void)
#else
/* Invoke standard, fixed clock configuration based on definitions in board.h */
/* Invoke standard, fixed clock configuration based on definitions
* in board.h
*/
stm32_stdclockconfig();