0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AUTOSAR CountdownAdvent Calendar 2022

Day 11

Explanation of Interrupt Handling within AUTOSAR, No.307, AUTOSAR R21-11(267) CP

Last updated at Posted at 2022-05-30

Explanation of Interrupt Handling within AUTOSAR, No.307, 2021-11

AUTOSAR R21-11記事一覧はこちら。

AUTOSAR 21-11,160文書読んだ。2022年5月中に全部読み。

AUTOSAR 21-11, 62文書読んだ。2022年5月中に半分到達予定。

AUTOSAR R21-11(0) 仕様ダウンロード一覧。単語帳。参考文献資料作成

用語(terms)

Term Description
ISR Interrupt Service Routine. Also used as a macro to declare in C a cat2
interrupt service routine.
RETI Return from Interrupt
GCE Generic Configuration Editor
Cat2 Category 2. Cat2 ISRs are supported by the OS and can make OS calls.
Cat1 Category 1. Cat1 interrupts are not supported by the OS and are only allowed to make a very small selection of OS calls to enable and disable all interrupts.
Interrupt Handler In the case of a Cat2 interrupts, the ISR is synonymous with Interrupt Handler. In the case of Cat1 interrupt the Interrupt handler is the function called by the hardware interrupt vector. In both cases the Interrupt handler is the user code that is normally a part of the BSW module. So we consider the Interrupt Handler to be a user level piece of code. However, in the case of Cat2 interrupts are initially handled in the OS’s interrupt handler before the user’s interrupt handler is called.
Interrupt Logic This is the MCU logic that controls all interrupts for all devices. This is normally controlled by the OS.
Device A hardware I/O device that, for the purposes of this document, can also cause interrupts.
Device Interrupt Enable Bit This is the bit/bits within one hardware device, that is controlled by the device driver, to enable/disable the interrupt source for that device only.
Interrupt Frame An interrupt frame is the code which is generated by the compiler, or the assembler code, for prefix and postfix of interrupt routines. This code is microcontroller specific
Definition Ref A reference from one part of the XML to another. In particular, the XML for a BSW module may refer to another BSW module’s XML for certain information. This prevents the same information appearing in multiple places in the XML.
Code Generator A BSW module is delivered in two parts: code and a Code Generator. The Code Generator consumes complete and correctly formed XML for the BSW module and generates code and data that configures the module.

英日

日本語は仮訳

T.B.D.

参考(reference)

no ref.

Glossary も 参考に入れましょう。
https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TR_Glossary.pdf

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?