Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
  void stm32_clockconfig(void)
  {
    /* Make sure that we are starting in the reset state */
Code Block

    
	rcc_reset();
Code Block
  #if defined(CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG)
Code Block

    
	/* Invoke Board Custom Clock Configuration */
Code Block

    
	stm32_board_clockconfig();
Code Block
  #else
Code Block
    /* Invoke standard, fixed clock configuration based on definitions in board.h */
Code Block

    
	stm32_stdclockconfig();
Code Block
  #endif
Code Block
    	/* Enable peripheral clocking */
Code Block
    rcc_enableperipherals();
  }

...

Here is some Power Management documentation:

  • http:<nowiki>_<//nowiki>nuttxnuttx.org/Documentation/NuttxPortingGuide.html#pwrmgmt
  • https:<nowiki>_<//nowiki>bitbucketbitbucket.org/nuttx/nuttx/src/master/include/nuttx/power/pm.h