コアタイマ使用時hw_timer_int_clearの割り込み要求クリア
コアタイマ使用(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を書き込むよう修正する。
コアタイマ使用(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を書き込むよう修正する。