Ticket #28015

コアタイマ使用時hw_timer_int_clearの割り込み要求クリア

오픈 날짜: 2012-04-04 14:26 마지막 업데이트: 2012-04-04 14:47

Reporter:
소유자:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

コアタイマ使用(USE_TIC_COREマクロを有効)時、hw_timer_int_clear関数にてTCNTLレジスタのTINTビットに1を書き込み、割り込みステータスをクリアしているが、データシートによるとTINTはW1Cではないと書かれている。

The TINT bit in the TCNTL register indicates that an interrupt has been generated. Note that this is not a W1C bit. Write a 0 to clear it. However, the write is optional. It is not required to clear interrupt requests.

説明にある通り、このビットへの書き込み自体オプションであり、1でも0でも動作に影響がない(実機にて確認済み)が、コードは削除せず、TCNTLレジスタのTINTビットは0を書き込むよう修正する。

Ticket History (3/3 Histories)

2012-04-04 14:26 Updated by: maduki
  • New Ticket "コアタイマ使用時hw_timer_int_clearの割り込み要求クリア" created
2012-04-04 14:31 Updated by: maduki
  • Details Updated
2012-04-04 14:47 Updated by: maduki
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2012-04-04 14:47

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login