Tíquete #28015

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

: 2012-04-04 14:26 Última Atualização: 2012-04-04 14:47

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum

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
  • Estado Update from Aberto to Fechado
  • Ticket Close date is changed to 2012-04-04 14:47

Attachment File List

No attachments

Editar

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