Can both RIE and ILIE be set so that either condition will cause an interrupt in the MCF51JM128EVLK ?

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

Can both RIE and ILIE be set so that either condition will cause an interrupt in the MCF51JM128EVLK ?

832件の閲覧回数
bobreichenbach
Contributor I

I want to use the Serial Receive line IDLE condition to call my parsing code after a data packet has been received and buffered. ie: IRQs to move each byte as received to buffer/que then when line becomes IDLE for 1 byte time, start parsing the packet. I do not want to poll Status Register 1 flags as this clears the flags. My source is in assembly.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

746件の閲覧回数
TomE
Specialist II

There's nothing in the Reference Manual to say that won't work. Just make sure you carefully follow the instructions on how to clear the status bits in "Table 12-5. SCIxS1 Field Descriptions".

> My source is in assembly.


What difference does that make?

Tom

0 件の賞賛
返信