WAIT on 908JL16

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

WAIT on 908JL16

1,386件の閲覧回数
popup
Contributor I
Hi,
 
I need my 908JL16 to initialise in the wait (or maybe stop) mode until an external interrupt occured, eg. key press, SCI_rx....After works are done, JL16 turn back to wait mode.
 
where can I put the wait instruction?
ラベル(1)
0 件の賞賛
返信
1 返信

691件の閲覧回数
bigmac
Specialist III
Hello popup,
 
It would be usual to place the wait (or stop) instruction within the main loop of your program.  When the external interrupt, or perhaps KBI occurs, processing of the ISR code should then immediately take place, and when completed, the operation will continue with the code immediately following the wait instruction.
 
You can then continue with other main loop operations before looping back prior to the wait instruction.
 
Regards,
Mac
 
0 件の賞賛
返信