差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
exercise4_タイマー割り込みcmt [2015/05/15 17:53] memberexercise4_タイマー割り込みcmt [2016/03/08 18:58] (現在) member
行 7: 行 7:
 <code c> <code c>
 void interrupt_cmt0(void); void interrupt_cmt0(void);
-#pragma interrupt INT_CMT_CMTO+#pragma interrupt INT_CMT0_CMIO
 void INT_CMT0_CMI0(void){ void INT_CMT0_CMI0(void){
  interrupt_cmt0();  interrupt_cmt0();
 } }
 </code> </code>
 +
 +ただし、e2studioを使っている場合は、次のとおり書き換えてください。
 +
 +<code c>
 +void interrupt_cmt0(void);
 +void INT_CMT0_CMI0(void){
 + interrupt_cmt0();
 +}
 +</code>
 +
  
 また、**reset_program.c**の21行目のSR_Initの0x000000F0を0x00000000にしましょう。 また、**reset_program.c**の21行目のSR_Initの0x000000F0を0x00000000にしましょう。
/home/users/2/deca.jp-mice/web/cgi/dokuwiki/data/attic/exercise4_タイマー割り込みcmt.1431680006.txt.gz · 最終更新: 2015/05/15 17:53 by member
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0