How to call __wfi on RTEMS?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-04-22 12:32 AM
HI, ALL!
RTEMS is a RTOS. I want to make it enter stop mode like below code
if(PWR_STOPEntry == PWR_STOPEntry_WFI)
{
/* Request Wait For Interrupt */
__WFI();
}
else
{
/* Request Wait For Event */
__WFE();
}
so i have to call __wfi like under rtems by C
Labels:
- Labels:
-
Power
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
