Hi pavan,
You can also try for ARM intrinsics for WFI instructions with respect to your ARM core which you are using. That helps you better in programming.
View all questions in Classic processors forum