[MOVED] Putting ARM cortex m3 MCU to sleep

Status
Not open for further replies.

kookie91

Newbie level 6
Joined
Jan 30, 2013
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,368
hi
I am a newbie to programming with MCUs.
I am trying to modify the adc program by reading voltages at 1000 hz, i.e i want to put the mcu to sleep for 1ms.
I know this can be accomplished using the wfi instruction, but can anyone please tell me how to write the subroutine to do that.
Thank you in advance !
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…