Hello,
I have the c5535 and want to use the idle2 mode.
In the description (SPRUH87C page 83) stands: executing the "IDLE instruction".
What does this mean.
Have someone an example in c++?
best regards
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I have the c5535 and want to use the idle2 mode.
In the description (SPRUH87C page 83) stands: executing the "IDLE instruction".
What does this mean.
Have someone an example in c++?
best regards
You'll need to write an assembly language function containing the IDLE instruction, and then you can call it from C++:
.global _enter_idle
_enter_idle:
IDLE
RET
and then you can call it from C++:
extern "C" void enter_idle(void); if (its_time_to_idle) enter_idle();
Thank you for this information.
Can someone show me an example code in c++, what exactly is to do before call the IDLE instruction?
best regards