8.7 Design TipsQuestion 1: An algorithm does not give the correct resu การแปล - 8.7 Design TipsQuestion 1: An algorithm does not give the correct resu ไทย วิธีการพูด

8.7 Design TipsQuestion 1: An algor

8.7 Design Tips
Question 1: An algorithm does not give the correct results.
Answer 1:
Assuming that the algorithm is correct and that interrupts are enabled during the algorithm,
ensure that are registers that are used by the algorithm and by the interrupt service routine are
saved and restored. If not some registers may be corrupted by the execution of the ISR.
Question 2: My system seems to lock up.
Answer 2:
If interrupts are being used, ensure that the interrupt flag is cleared after servicing that interrupt
(but before executing the RETFIE instruction). If the interrupt flag remains set when the RETFIE
instruction is executed, program execution immediately returns to the interrupt vector, since there
is an outstanding enabled interrup
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
8.7 Design TipsQuestion 1: An algorithm does not give the correct results.Answer 1:Assuming that the algorithm is correct and that interrupts are enabled during the algorithm,ensure that are registers that are used by the algorithm and by the interrupt service routine aresaved and restored. If not some registers may be corrupted by the execution of the ISR.Question 2: My system seems to lock up.Answer 2:If interrupts are being used, ensure that the interrupt flag is cleared after servicing that interrupt(but before executing the RETFIE instruction). If the interrupt flag remains set when the RETFIEinstruction is executed, program execution immediately returns to the interrupt vector, since thereis an outstanding enabled interrup
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
8.7
เคล็ดลับการออกแบบคำถามที่1: อัลกอริทึมไม่ให้ผลลัพธ์ที่ถูกต้อง.
คำตอบที่ 1: สมมติว่าขั้นตอนวิธีการที่ถูกต้องและการขัดจังหวะมีการใช้งานในระหว่างขั้นตอนวิธีการที่ให้แน่ใจว่ามีการลงทะเบียนที่ใช้โดยอัลกอริทึมและประจำบริการขัดจังหวะเป็นบันทึกและเรียกคืน ถ้าไม่ได้บางลงทะเบียนอาจจะเสียหายจากการดำเนินการของ ISR ที่. คำถามที่ 2: ระบบของฉันดูเหมือนว่าจะล็อคขึ้น. คำตอบที่ 2: ถ้าขัดจังหวะจะถูกใช้ให้แน่ใจว่าธงขัดจังหวะจะถูกล้างออกหลังจากที่ให้บริการที่ขัดขวาง(แต่ก่อนที่จะดำเนิน RETFIE คำแนะนำ). ถ้าธงขัดจังหวะยังคงตั้งค่าเมื่อ RETFIE การเรียนการสอนจะถูกดำเนินการการทำงานของโปรแกรมได้ทันทีกลับไปเวกเตอร์ขัดจังหวะเนื่องจากมีเป็นเปิดใช้งานที่โดดเด่น interrup








การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
ที่สำคัญเคล็ดลับการออกแบบ
คำถามที่ 1 : ขั้นตอนวิธีไม่ได้ให้ผลลัพธ์ที่ถูกต้อง คำตอบที่ 1 :

สมมติว่าขั้นตอนถูกต้อง ขัดจังหวะจะเปิดใช้งานในขั้นตอนวิธี
ให้แน่ใจว่าเป็นรีจิสเตอร์ที่ใช้โดยขั้นตอนวิธีและขัดจังหวะรูทีนบริการ
บันทึกและเรียกคืน ถ้าไม่ได้ลงทะเบียนอาจจะเสียหาย โดยการประหารของ ISR .
คำถามที่ 2 :ระบบของฉันดูเหมือนว่าจะล็อค คําตอบ 2 :

ถ้าขัดขวางจะถูกใช้ ให้แน่ใจว่า ขัดล้างหลังจากให้บริการธงที่ขัดจังหวะ
( แต่ก่อนรัน retfie สอน ) ถ้าขัดธงยังคงตั้งเมื่อ retfie
สอนคือประหาร ประหารโปรแกรมทันที กลับขัดจังหวะเวกเตอร์ ตั้งแต่มี
เป็นที่โดดเด่น interrup เปิดใช้งาน
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2024 I Love Translation. All reserved.

E-mail: