beautypg.com

Mr308 kernel structure, Module structure, Figure 3.19 mr308 structure – Renesas 70 User Manual

Page 40: 5 mr308 kernel structure, 1 module structure

background image

Chapter 3 Introduction to MR308

- 30 -

3.5 MR308 Kernel Structure

3.5.1 Module

Structure

The MR308 kernel consists of the modules shown in Figure 3.19. Each of these modules is composed of func-
tions that exercise individual module features.

The MR308 kernel is supplied in the form of a library, and only necessary features are linked at the time of sys-
tem generation. More specifically, only the functions used are chosen from those which comprise these modules
and linked by means of the Linkage Editor LN308. However, the scheduler module, part of the task manage-
ment module, and part of the time management module are linked at all times because they are essential fea-
ture functions.

The applications program is a program created by the user. It consists of tasks, interrupt handler, alarm handler,
and cyclic handler.

29

Task-dependent

synchronization

Eventflag

M32C Microcomputer

Scheduler

Mailbox

Semaphore

Task

Management

Application Program

Hardware

MR308 kernel

User Module

Time

Management

System stae

Management

Memorypool

Management

Interrupt

Management

Data queue

System configuration

Management

Figure 3.19 MR308 Structure

29

For details, See 3.5.10.