going to sleep

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

going to sleep

733件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mayotte1 on Fri Apr 09 10:04:56 MST 2010
My project is working so well now that I need to have it start sleeping. I don't really find much info on the _WFI that is used in the blinky example. The comments in the blinky code say it is going to sleep to save power but the discussions on the forum seem to indicate I need to do more than just issue a _WFI. I do see on the scope where the project is waiting but cannot really tell if any reduced power is in play.  Any comment would be appreciated. Thanks in advance.
0 件の賞賛
返信
1 返信

719件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by igorsk on Fri Apr 09 15:28:04 MST 2010
WFI stands for "Wait for interrupt". It makes CPU stop executing and go to sleep until it gets an interrupt. Which sleep mode is entered depends on the power configuration. See "Power control" in your chip's user manual.
0 件の賞賛
返信