X hits on this document

48 views

0 shares

0 downloads

0 comments

15 / 20

R8C Family General RTOS Concepts

2.6.6

Interrupt and Event Handling

An interrupt is a hardware mechanism used to inform the CPU that an asynchronous event has occurred. A fundamental challenge in RTOS design is supporting interrupts and thereby allowing asynchronous access to internal RTOS data structures. The interrupt and event handling mechanism of an RTOS provides the following functions:

  • Defining interrupt handler

  • Creation and deletion of ISR

  • Referencing the state of an ISR

  • Enabling and disabling of an interrupt

  • Changing and referencing of an interrupt mask

and help to ensure:

  • Data integrity by restricting interrupts from occurring when modifying a data structure

  • Minimum interrupt latencies due to disabling of interrupts when RTOS is performing critical operations

  • Fastest possible interrupt responses that marked the preemptive performance of an RTOS

  • Shortest possible interrupt completion time with minimum overheads

      • 2.6.7

        Device I/O Management

An RTOS kernel is often equipped with a device I/O management service to provide a uniform framework (application programmer’s interface-“API”) and supervision facility for an embedded system to organize and access large numbers of diverse hardware device drivers. However, most device driver APIs and supervisors are “standard” only within a specific RTOS.

RES05B0008-0100/Rev.1.00

January 2010

Page 13 of 18

Document info
Document views48
Page views48
Page last viewedThu Dec 08 02:19:13 UTC 2016
Pages20
Paragraphs395
Words6183

Comments