Wfe - ST STM32H7 Series Programming Manual

Hide thumbs Also See for STM32H7 Series:
Table of Contents

Advertisement

PM0214
3.11.11

WFE

Wait For Event. WFE is a hint instruction.
Syntax
WFE{cond}
Where: 'cond' is an optional condition code, see
Operation
If the event register is 0, WFE suspends execution until one of the following events occurs:
An exception, unless masked by exception mask registers or the current priority level
An exception enters Pending state, if SEVONPEND in System Control Register is set
A Debug Entry request, if Debug is enabled
An event signaled by a peripheral or another processor in a multiprocessor system
using the SEV instruction.
If the event register is 1, WFE clears it to 0 and returns immediately.
For more information see
Condition flags
This instruction does not change the flags.
Examples
WFE
Power management on page
; Wait for event
The STM32 Cortex-M4 instruction set
Conditional execution on page
PM0214 Rev 9
47.
65.
191/262
261

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32H7 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF