stm32
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
stm32 [2009/06/15 02:32] – memeruiz | stm32 [2021/02/01 05:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 40: | Line 40: | ||
* For entering sleep mode use WFI (wait for interrupt) or WFE (wait for event) instruction. SLEEPONEXIT (Cortex system control register) is important to select the way entering sleep workds. Wake on event is faster because is not entering any interrupt rutine. | * For entering sleep mode use WFI (wait for interrupt) or WFE (wait for event) instruction. SLEEPONEXIT (Cortex system control register) is important to select the way entering sleep workds. Wake on event is faster because is not entering any interrupt rutine. | ||
* Stop mode table 10 stm32_low_medium_high. The internal regulator can be set in low_power mode with LPDS bit in PWR_CR. | * Stop mode table 10 stm32_low_medium_high. The internal regulator can be set in low_power mode with LPDS bit in PWR_CR. | ||
- | * Reset origin can be check in RCC_CSR. There is software reset. | + | * Reset origin |
* System clock SYSCLK can be driven by HSI, HSE, PLL clocks | * System clock SYSCLK can be driven by HSI, HSE, PLL clocks | ||
* For clock configuration check RCC_CR. | * For clock configuration check RCC_CR. | ||
Line 81: | Line 81: | ||
- Configure Peripherals | - Configure Peripherals | ||
- Configure Interrupts | - Configure Interrupts | ||
+ | ===== ARM CORE ===== | ||
+ | |||
+ | * You can write to the PSR, APSR, IPSR, EPSR using the MSR instruction. In fact is possible make combinations of this registers. | ||
stm32.1245033120.txt.gz · Last modified: 2021/02/01 05:55 (external edit)