μT-Kernel 3.0 Specification

μT-Kernel Specification Ver.3.00.01

Copyright © 2019-2023 by TRON Forum

You should not transcribe the content, duplicate a part of this specification, etc. without the consent of TRON Forum.

For improvement, etc., information in this specification is subject to change without notice.

For information about this specification, please contact the following:


          TRON Forum Secretariat
          In YRP Ubiquitous Networking Laboratory
          SEIJITSU BLD-1, 2-12-3, Nishi-Gotanda Shinagawa
          Tokyo Japan
          141-0031
          TEL: +81-(0)-3-5437-0572
          FAX: +81-(0)-3-5437-2399
          E-mail: 
        


Table of Contents
API Notation
API Name - Description
Index of μT-Kernel/OS APIs
Index of μT-Kernel/SM APIs
Index of μT-Kernel/DS APIs
Overview of μT-Kernel 3.0
TRON Project and μT-Kernel 3.0
Design Policy of μT-Kernel 3.0
Structure of μT-Kernel 3.0
Reference Code
Adaptability and Service Profile
Implementation Specification Document
Relation with Existing RTOS Specifications
μT-Kernel Concepts
Meaning of Basic Terminology
Task States and Scheduling Rules
Interrupt Handling
Task Exception Handling
System States
Objects
Protection Levels
Service Profile
Common Rules of μT-Kernel
Data Types
System Calls
High-Level Language Support Routines
Service Profile
μT-Kernel/OS Functions
Task Management Functions
Task Synchronization Functions
Task Exception Handling Functions
Synchronization and Communication Functions
Extended Synchronization and Communication Functions
Memory Pool Management Functions
Time Management Functions
Interrupt Management Functions
System Management Functions
Subsystem Management Functions
μT-Kernel/SM Functions
System Memory Management Functions
Device Management Functions
Interrupt Management Functions
I/O Port Access Support Functions
Power Management Functions
System Configuration Information Management Functions
Memory Cache Control Functions
Physical Timer Functions
Utility Functions
μT-Kernel/DS Functions
Kernel Internal State Acquisition Functions
Trace Functions
Appendix
System Configuration
Keywords
Reference
List of C Language Interface
List of Error Codes
List of APIs and Service Profile Items
List of Tables
1. State Transitions Distinguishing Invoking Task and Other Tasks
1. Target Task State and Execution Result (tk_ter_tsk)
2. Values of tskwait and wid
3. Target Task State and Execution Result (tk_rel_wai)
1. Whether Concurrent Open of Same Device is Allowed or NOT
List of Figures
1. Position and Structure of μT-Kernel 3.0
1. Task State Transition Diagram
2. Precedence in Initial State
3. Precedence After Task B Goes To RUNNING State
4. Precedence After Task B Goes To WAITING State
5. Precedence After Task B WAITING State Is Released
6. Classification of System States
7. Interrupt Nesting and Delayed Dispatching
1. Behavior of High-Level Language Support Routine
1. Multiple Tasks Waiting for One Event Flag
2. Format of Messages Using a Mailbox
3. Synchronous Communication by Message Buffer
4. Synchronous Communication Using Message Buffer of bufsz = 0
5. Precedence Before Issuing tk_rot_rdq
6. Precedence After Issuing tk_rot_rdq (tskpri = 2)
7. maker Format
8. prid Format
9. spver Format
10. μT-Kernel Subsystems
1. Device Management Functions
List of Examples
1. Example of Using Parameters Notation
1. Description Example of CONST
1. Example of Device Name
2. Example of Device ID
3. Example of Device-specific Data
4. Sample Usage of isDI
5. Example of Format of System Configuration Information
6. Example of Storage Order of More than One Numeric Value
7. Sample Usage of SetOBJNAME
1. tk_wai_sem(ID semid, INT cnt, TMO tmout)