entering sleep

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

entering sleep

710件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mayotte1 on Wed Mar 24 16:48:20 MST 2010
In one of the examples (autoisp) for the lpc1343 its says:

/* Go to sleep to save power between SYSTICK interrupts */
    __WFI();

what is WFI?  Can I use this single statement to save power or must I dig out a more complex solution or preset something?
Please and thank you.
0 件の賞賛
返信
1 返信

688件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Mar 24 17:07:39 MST 2010
__WFI(); is a function in C, and define an instruction that has the same name in assembler (WFI: Wait For Interrupt).

In the datasheet has more information.

There is an elaborate example "pmc" in "LPC11xx_SampleSoftware.101".
0 件の賞賛
返信