| データシートサーチシステム |
|
PFS154 データシート(PDF) 37 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PFS154 データシート(HTML) 37 Page - PADAUK Technology. |
|
37 / 91 page ![]() PFS154 8bit MTP Type IO Controller ©Copyright 2020, PADAUK Technology Co. Ltd Page 37 of 91 PDK-DS-PFS154_CN_V105 –Jun. 9, 2020 void Interrupt (void) // interrupt service routine { PUSHAF // store ALU and FLAG register // If INTEN.PA0 will be opened and closed dynamically, // user can judge whether INTEN.PA0 =1 or not. // Example: If (INTEN.PA0 && INTRQ.PA0) {…} // If INTEN.PA0 is always enable, // user can omit the INTEN.PA0 judgement to speed up interrupt service routine. If (INTRQ.PA0) { // Here for PA0 interrupt service routine INTRQ.PA0 = 0; // Delete corresponding bit (take PA0 for example) ... } ... // X : INTRQ = 0; // It is not recommended to use INTRQ = 0 to clear all at the end of the // interrupt service routine. // It may accidentally clear out the interrupts that have just occurred // and are not yet processed. POPAF // restore ALU and FLAG register } |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |