SlideShare a Scribd company logo
1/25/2015 J.SUDARSHANREDDY
:
One popular RTOS For the E.S development
is microCOS-ll for noncommercial use, it is free
ware .jean J.labrosse designed it in 1992 it is well
developed for a no.of applications.it is available
from micrium it is popularly known as MUCOS (or)
UCOS.
1/25/2015 J.SUDARSHANREDDY
:
• Advantages
•Applications
• Source Files
• System Level Functions
• Task Service & Time Functions
• Time Delay Functions
• Memory Allocation-Related Functions
•Semaphore- Related Functions
• Mail Box-Related Functions
• Queue-Related Functions
1/25/2015 J.SUDARSHANREDDY
:
 Micrium Describes MUCOS as portable.
 Micrium Describes MUCOS as ROMable.
 Micrium Describes MUCOS as Preemptive.
 Micrium Describes MUCOS as scalable.
 Micrium Describes MUCOS as Real Time &
Multi Tasking Kernel.
 It has full source code availability.
1/25/2015 J.SUDARSHANREDDY
:
MUCOS Has been used in over thousands of
applications including ,
 Automotive
 Avionics
 Consumer Electronics
 Medical Devices
 Aero Space
 Networking
 System On Chip Development
 It Gives Best high Quality/Performance Ratio
1/25/2015 J.SUDARSHANREDDY
MUCOS has 10000 plus lines codes there are two
types of source files.
1. Processer dependent source files :
• Os_CPU.h is the processor definations header
file
• The kernal building configuration file is Os
_CFG.h
2. Processer independent source files :
• MUCOS header & C-files are ucos_ii.h and
ucos_ii.c
• The files for RTOS core are os_core.c
1/25/2015 J.SUDARSHANREDDY
MUCOS RTOS has system functions that should be executed when
entering and exiting the ISR.
MUCOS RTOS has system functions for disabling and enabling intrrupts
that can be executed when entering a critical section of task (or) ISR and exiting
the critical Section (or) ISR the system level functions are
 Initiating the os before starting the use of the RTOS functions.
 Starting the use of RTOS multi tasking functions and running the task.
 Starting the use of RTOS system clock.
 Sending msg to RTOS Kernel for take control At the start of an ISR.
 Sending msg to RTOS Kernel for take control At the start of a critical section.
 Locking & Unlocking OS scheduler
1/25/2015 J.SUDARSHANREDDY
Service functions means the functions to create task, Suspend and
resume and time setting and time retrieving functions.
Time functions set Time & Get Time in terms of the no.of system clock
ticks.
1. The functions OS task create () returns the following
i. OS_NO_ERR
ii. OS_PRIO_EXIST
iii. OS_PRIO_INVALID
iv. OS_NO_MORE_TCB
2. The functions suspending a task follows OS_TASK_SUSPEND_PRIO ,
OS_TASK_SUSPEND_IDLE.
1/25/2015 J.SUDARSHANREDDY
3. Resuming a Task.Functions unsigned byte resumes a
suspended task the function OS task resume() returns the
OS_NO_ERR when the blocking succeed.
4. Setting time in system clock function void OS time set
returns no value.
5. Getting time of system clock function unsigned int Os
time get(void) returns current no.of ticks as an unsigned
integer.
1/25/2015 J.SUDARSHANREDDY
 Delaying by defining a time delay by no.of clock ticks function. Function
void Os time dly delays tasks by tick of system clock it returns no para
meter.
 It delays that task for atleast 100000 ms if system clock ticks after every 10
ms.
 Resuming a delay task by Os time dly. function unsigned byte Os time dly
resume a previously delayed task whether delay parameters was interms
of the delay counticks or hours, minutes, seconds.
 Delaying by defining a time delay in units of hours, minutes, seconds,
milli seconds function void Os time dly HMSM delays up to 65535 ticks.
1/25/2015 J.SUDARSHANREDDY
Mem0ry functions are required to allocate fixed size memory
Blocks from the memory partition having integer no.of blocks the allocation takes
Place with out fragmentation the allocations & deallocations takes places in fixed &
Deterministic.
 Creating a memory blocks at memory address. Function OSMem *OSMem create is
an Os function which partitions the memory from an address with partitions in the
blocks.
 Getting a memory blocks at memory address.Function void *OSMem get.
 Querying a memory block.Function unsigned byte OSMemquery.
Putting a memory block into a partition.function unsigned byte OSMemput.1/25/2015 J.SUDARSHANREDDY
MUCOS also provides for event functions for an event flags
Groups to handle task pending action on occurrence of any or all events.
1. Creating a semaphore for the IPCs. Function Os_event Os sem create.
2. Waiting for an IPC for semaphore release. Function void Os sempend.
3. Check for availability of an IPC after a semaphore release.
4. Sending an IPC after a semaphore release function unsigned byte Os sempost.
5. Retrieve the error information for a semaphore.
1/25/2015 J.SUDARSHANREDDY
Mail Box – Related Functions :
1. Creating a mail box for an IPC.
2. Check for availability of an IPC after a msg at mail box.
3. Wating for availability of an IPC for a msg at mail box.
4. Send a msg for an IPC through mail box.
5. Finding mail box data and retrieving the error information for mail box.
1/25/2015 J.SUDARSHANREDDY
By using a queue we can communicate an array of msg pointers
From the task. The msg pointers can be posted into queue by the task either at the
Back as in a queue or at the front as in a stack.
 Creating a queue for An IPC.
 Waiting for an IPC msg at a queue.
 Emptying the queue & eliminating all the msg pointers.
 Sending a msg pointer to the queue.
 Sendingh a msg pointer & inserting it at the queue front.
 Querying to find the msg & error information for the queue ECB.1/25/2015 J.SUDARSHANREDDY
1/25/2015 J.SUDARSHANREDDY

More Related Content

What's hot (20)

PPTX
System partitioning in VLSI and its considerations
Subash John
 
PPTX
VLSI Design-Lecture2 introduction to ic technology
sritulasiadigopula
 
PDF
Vx works RTOS
Sai Malleswar
 
PPTX
Flowchart of GA
Ishucs
 
PDF
Verilog lab manual (ECAD and VLSI Lab)
Dr. Swaminathan Kathirvel
 
PPTX
Introduction to Embedded System I: Chapter 2 (5th portion)
Moe Moe Myint
 
PPTX
Dft (design for testability)
shaik sharief
 
PPT
06. thumb instructions
balaji raja rajan Venkatachalam
 
PPTX
Metastability,MTBF,synchronizer & synchronizer failure
prashant singh
 
PPTX
Xilinx 4000 series
dragonpradeep
 
DOCX
ARM7-ARCHITECTURE
Dr.YNM
 
PDF
Different addressing mode and risc, cisc microprocessor
Daffodil International University
 
PPTX
ARM Exception and interrupts
NishmaNJ
 
PPT
Real Time Systems & RTOS
Vishwa Mohan
 
PPT
8085 interrupts
Ram Babu
 
PPTX
TMS320C5x
DeekshithaReddy23
 
PPT
Communication Interface of The Embedded Systems
VijayKumar5738
 
PDF
Deterministic Test Pattern Generation ( D-Algorithm of ATPG) (Testing of VLSI...
Usha Mehta
 
PPTX
Time delay programs and assembler directives 8086
Dheeraj Suri
 
PPT
Real Time Operating system (RTOS) - Embedded systems
Hariharan Ganesan
 
System partitioning in VLSI and its considerations
Subash John
 
VLSI Design-Lecture2 introduction to ic technology
sritulasiadigopula
 
Vx works RTOS
Sai Malleswar
 
Flowchart of GA
Ishucs
 
Verilog lab manual (ECAD and VLSI Lab)
Dr. Swaminathan Kathirvel
 
Introduction to Embedded System I: Chapter 2 (5th portion)
Moe Moe Myint
 
Dft (design for testability)
shaik sharief
 
06. thumb instructions
balaji raja rajan Venkatachalam
 
Metastability,MTBF,synchronizer & synchronizer failure
prashant singh
 
Xilinx 4000 series
dragonpradeep
 
ARM7-ARCHITECTURE
Dr.YNM
 
Different addressing mode and risc, cisc microprocessor
Daffodil International University
 
ARM Exception and interrupts
NishmaNJ
 
Real Time Systems & RTOS
Vishwa Mohan
 
8085 interrupts
Ram Babu
 
Communication Interface of The Embedded Systems
VijayKumar5738
 
Deterministic Test Pattern Generation ( D-Algorithm of ATPG) (Testing of VLSI...
Usha Mehta
 
Time delay programs and assembler directives 8086
Dheeraj Suri
 
Real Time Operating system (RTOS) - Embedded systems
Hariharan Ganesan
 

Viewers also liked (20)

PPT
Rtos Concepts
Sundaresan Sundar
 
DOC
UNIT-I-RTOS and Concepts
Dr.YNM
 
PDF
Unit 4 Real Time Operating System
Dr. Pankaj Zope
 
PPT
RTOS
Ramasubbu .P
 
PPT
Vxworks
ismaeil nethead
 
PDF
ACEITES CADENAS RODAMIENTOS GUIAS ELESA
Isabel Gil Alonso
 
PDF
Profi preisliste 2014
Norbert Koch
 
DOC
Manual of panasonic fax machine-55030114
iphungs
 
PDF
Epicor Copy company tool
RheinBrücke IT Consulting
 
PPTX
COACMALAGA. Colegio Oficial de Agentes Comerciales de Málaga y provincia
Gerente Málaga
 
DOCX
Ensayo fisioterapia neurológica
LauEscGarcia
 
PDF
Ntc 5555
Carlos Riaño
 
PPTX
Smartlance it recruitment
SMARTLANCE IT RECRUITMENT
 
PPTX
InfoZoom Tips & Tricks – Part 4 Merge Different Data Sources in InfoZoom
corma GmbH
 
PDF
Update 2014: Flyer
Klin-RT
 
PDF
UNEP Disasters & Ecosystems MOOC participation_certificate
Stuart Armstrong
 
PDF
III Convenio Colectivo de Acciona A.S.
sindicatouit
 
PDF
Games for Health - Maurits graafland - Serious Games in Surgical Education
Games for Health Europe
 
PDF
50 tushaal
Tumuruu Shiileg
 
Rtos Concepts
Sundaresan Sundar
 
UNIT-I-RTOS and Concepts
Dr.YNM
 
Unit 4 Real Time Operating System
Dr. Pankaj Zope
 
ACEITES CADENAS RODAMIENTOS GUIAS ELESA
Isabel Gil Alonso
 
Profi preisliste 2014
Norbert Koch
 
Manual of panasonic fax machine-55030114
iphungs
 
Epicor Copy company tool
RheinBrücke IT Consulting
 
COACMALAGA. Colegio Oficial de Agentes Comerciales de Málaga y provincia
Gerente Málaga
 
Ensayo fisioterapia neurológica
LauEscGarcia
 
Ntc 5555
Carlos Riaño
 
Smartlance it recruitment
SMARTLANCE IT RECRUITMENT
 
InfoZoom Tips & Tricks – Part 4 Merge Different Data Sources in InfoZoom
corma GmbH
 
Update 2014: Flyer
Klin-RT
 
UNEP Disasters & Ecosystems MOOC participation_certificate
Stuart Armstrong
 
III Convenio Colectivo de Acciona A.S.
sindicatouit
 
Games for Health - Maurits graafland - Serious Games in Surgical Education
Games for Health Europe
 
50 tushaal
Tumuruu Shiileg
 
Ad

Similar to RTOS MICRO CONTROLLER OPERATING SYSTEM-2 (20)

PPTX
unit5 uc.pptx
KandavelEee
 
PPTX
REAL TIME OPERATING SYSTEM
prakrutijsh
 
PPT
L1 and L3 _uCOS Task and scheduler concepts
Varsha506533
 
PPT
1230 Rtf Final
luisotaviomedici
 
PPTX
FreeRTOS
Ankita Tiwari
 
PPTX
RTOS.pptx
IrshanNazir3
 
PPTX
MODULE IV embedded (1).pptx
Sajinvs4
 
PDF
Intro To RTOS by Silicon labs covering fundamentals
sivakumarrohit2917
 
PPT
ucos-2 introduction and characteristics
Varsha506533
 
PDF
embedded system CHAPTER four about design .pdf
abdulkerimaragaw936
 
PDF
RTOS implementation
Rajan Kumar
 
PPTX
Real Time Operating Systems
Murtadha Alsabbagh
 
PDF
seminarembedded-150504150805-conversion-gate02.pdf
karunyamittapally
 
PPTX
Real Time Operating System
Sharad Pandey
 
PDF
Rtos ss
Sudheesh S Madhav
 
PPTX
Entreprenuership notes module 3 notes.pptx
SreekalaP6
 
PPTX
Rtos
lakshmivinod7
 
PPTX
FreeRTOS basics (Real time Operating System)
Naren Chandra
 
PPT
UNIT V PPT.ppt
ThanmayaGoud
 
PDF
FreeRTOS Slides annotations.pdf
AbdElrahmanMostafa87
 
unit5 uc.pptx
KandavelEee
 
REAL TIME OPERATING SYSTEM
prakrutijsh
 
L1 and L3 _uCOS Task and scheduler concepts
Varsha506533
 
1230 Rtf Final
luisotaviomedici
 
FreeRTOS
Ankita Tiwari
 
RTOS.pptx
IrshanNazir3
 
MODULE IV embedded (1).pptx
Sajinvs4
 
Intro To RTOS by Silicon labs covering fundamentals
sivakumarrohit2917
 
ucos-2 introduction and characteristics
Varsha506533
 
embedded system CHAPTER four about design .pdf
abdulkerimaragaw936
 
RTOS implementation
Rajan Kumar
 
Real Time Operating Systems
Murtadha Alsabbagh
 
seminarembedded-150504150805-conversion-gate02.pdf
karunyamittapally
 
Real Time Operating System
Sharad Pandey
 
Entreprenuership notes module 3 notes.pptx
SreekalaP6
 
FreeRTOS basics (Real time Operating System)
Naren Chandra
 
UNIT V PPT.ppt
ThanmayaGoud
 
FreeRTOS Slides annotations.pdf
AbdElrahmanMostafa87
 
Ad

More from JOLLUSUDARSHANREDDY (20)

PPTX
RTOS CASE STUDY OF CODING FOR SENDING APPLIC...
JOLLUSUDARSHANREDDY
 
PPTX
MEMORY MANAGEMENT
JOLLUSUDARSHANREDDY
 
PPTX
Os security issues
JOLLUSUDARSHANREDDY
 
PPTX
Basic functions & types of RTOS ES
JOLLUSUDARSHANREDDY
 
PPTX
RTOS LINUX2.6.X & LINUX2.6.24
JOLLUSUDARSHANREDDY
 
PPT
OSEK / VDX
JOLLUSUDARSHANREDDY
 
PPTX
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
JOLLUSUDARSHANREDDY
 
PPTX
INTERRUPT LATENCY AND RESPONSE OF THE TASK
JOLLUSUDARSHANREDDY
 
PPTX
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
JOLLUSUDARSHANREDDY
 
PPT
Rt linux-lab1
JOLLUSUDARSHANREDDY
 
PPTX
WINDOWS-CE
JOLLUSUDARSHANREDDY
 
PPTX
Automated system for fault analysis in industries using
JOLLUSUDARSHANREDDY
 
PPTX
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
JOLLUSUDARSHANREDDY
 
PPTX
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
JOLLUSUDARSHANREDDY
 
PPTX
Zigbee Based Solar Light System By Using LDR
JOLLUSUDARSHANREDDY
 
PPTX
Design of smart nodes for wireless sensor network ...
JOLLUSUDARSHANREDDY
 
PPTX
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
JOLLUSUDARSHANREDDY
 
PPTX
BOMB DETECTION ROBOT BY USING GSM & GPS
JOLLUSUDARSHANREDDY
 
PPTX
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
JOLLUSUDARSHANREDDY
 
PPTX
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
JOLLUSUDARSHANREDDY
 
RTOS CASE STUDY OF CODING FOR SENDING APPLIC...
JOLLUSUDARSHANREDDY
 
MEMORY MANAGEMENT
JOLLUSUDARSHANREDDY
 
Os security issues
JOLLUSUDARSHANREDDY
 
Basic functions & types of RTOS ES
JOLLUSUDARSHANREDDY
 
RTOS LINUX2.6.X & LINUX2.6.24
JOLLUSUDARSHANREDDY
 
OSEK / VDX
JOLLUSUDARSHANREDDY
 
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
JOLLUSUDARSHANREDDY
 
INTERRUPT LATENCY AND RESPONSE OF THE TASK
JOLLUSUDARSHANREDDY
 
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
JOLLUSUDARSHANREDDY
 
Rt linux-lab1
JOLLUSUDARSHANREDDY
 
Automated system for fault analysis in industries using
JOLLUSUDARSHANREDDY
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
JOLLUSUDARSHANREDDY
 
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
JOLLUSUDARSHANREDDY
 
Zigbee Based Solar Light System By Using LDR
JOLLUSUDARSHANREDDY
 
Design of smart nodes for wireless sensor network ...
JOLLUSUDARSHANREDDY
 
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
JOLLUSUDARSHANREDDY
 
BOMB DETECTION ROBOT BY USING GSM & GPS
JOLLUSUDARSHANREDDY
 
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
JOLLUSUDARSHANREDDY
 
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
JOLLUSUDARSHANREDDY
 

Recently uploaded (20)

PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
PDF
monopile foundation seminar topic for civil engineering students
Ahina5
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PDF
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 
PPTX
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
monopile foundation seminar topic for civil engineering students
Ahina5
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
MRRS Strength and Durability of Concrete
CivilMythili
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 

RTOS MICRO CONTROLLER OPERATING SYSTEM-2

  • 2. : One popular RTOS For the E.S development is microCOS-ll for noncommercial use, it is free ware .jean J.labrosse designed it in 1992 it is well developed for a no.of applications.it is available from micrium it is popularly known as MUCOS (or) UCOS. 1/25/2015 J.SUDARSHANREDDY
  • 3. : • Advantages •Applications • Source Files • System Level Functions • Task Service & Time Functions • Time Delay Functions • Memory Allocation-Related Functions •Semaphore- Related Functions • Mail Box-Related Functions • Queue-Related Functions 1/25/2015 J.SUDARSHANREDDY
  • 4. :  Micrium Describes MUCOS as portable.  Micrium Describes MUCOS as ROMable.  Micrium Describes MUCOS as Preemptive.  Micrium Describes MUCOS as scalable.  Micrium Describes MUCOS as Real Time & Multi Tasking Kernel.  It has full source code availability. 1/25/2015 J.SUDARSHANREDDY
  • 5. : MUCOS Has been used in over thousands of applications including ,  Automotive  Avionics  Consumer Electronics  Medical Devices  Aero Space  Networking  System On Chip Development  It Gives Best high Quality/Performance Ratio 1/25/2015 J.SUDARSHANREDDY
  • 6. MUCOS has 10000 plus lines codes there are two types of source files. 1. Processer dependent source files : • Os_CPU.h is the processor definations header file • The kernal building configuration file is Os _CFG.h 2. Processer independent source files : • MUCOS header & C-files are ucos_ii.h and ucos_ii.c • The files for RTOS core are os_core.c 1/25/2015 J.SUDARSHANREDDY
  • 7. MUCOS RTOS has system functions that should be executed when entering and exiting the ISR. MUCOS RTOS has system functions for disabling and enabling intrrupts that can be executed when entering a critical section of task (or) ISR and exiting the critical Section (or) ISR the system level functions are  Initiating the os before starting the use of the RTOS functions.  Starting the use of RTOS multi tasking functions and running the task.  Starting the use of RTOS system clock.  Sending msg to RTOS Kernel for take control At the start of an ISR.  Sending msg to RTOS Kernel for take control At the start of a critical section.  Locking & Unlocking OS scheduler 1/25/2015 J.SUDARSHANREDDY
  • 8. Service functions means the functions to create task, Suspend and resume and time setting and time retrieving functions. Time functions set Time & Get Time in terms of the no.of system clock ticks. 1. The functions OS task create () returns the following i. OS_NO_ERR ii. OS_PRIO_EXIST iii. OS_PRIO_INVALID iv. OS_NO_MORE_TCB 2. The functions suspending a task follows OS_TASK_SUSPEND_PRIO , OS_TASK_SUSPEND_IDLE. 1/25/2015 J.SUDARSHANREDDY
  • 9. 3. Resuming a Task.Functions unsigned byte resumes a suspended task the function OS task resume() returns the OS_NO_ERR when the blocking succeed. 4. Setting time in system clock function void OS time set returns no value. 5. Getting time of system clock function unsigned int Os time get(void) returns current no.of ticks as an unsigned integer. 1/25/2015 J.SUDARSHANREDDY
  • 10.  Delaying by defining a time delay by no.of clock ticks function. Function void Os time dly delays tasks by tick of system clock it returns no para meter.  It delays that task for atleast 100000 ms if system clock ticks after every 10 ms.  Resuming a delay task by Os time dly. function unsigned byte Os time dly resume a previously delayed task whether delay parameters was interms of the delay counticks or hours, minutes, seconds.  Delaying by defining a time delay in units of hours, minutes, seconds, milli seconds function void Os time dly HMSM delays up to 65535 ticks. 1/25/2015 J.SUDARSHANREDDY
  • 11. Mem0ry functions are required to allocate fixed size memory Blocks from the memory partition having integer no.of blocks the allocation takes Place with out fragmentation the allocations & deallocations takes places in fixed & Deterministic.  Creating a memory blocks at memory address. Function OSMem *OSMem create is an Os function which partitions the memory from an address with partitions in the blocks.  Getting a memory blocks at memory address.Function void *OSMem get.  Querying a memory block.Function unsigned byte OSMemquery. Putting a memory block into a partition.function unsigned byte OSMemput.1/25/2015 J.SUDARSHANREDDY
  • 12. MUCOS also provides for event functions for an event flags Groups to handle task pending action on occurrence of any or all events. 1. Creating a semaphore for the IPCs. Function Os_event Os sem create. 2. Waiting for an IPC for semaphore release. Function void Os sempend. 3. Check for availability of an IPC after a semaphore release. 4. Sending an IPC after a semaphore release function unsigned byte Os sempost. 5. Retrieve the error information for a semaphore. 1/25/2015 J.SUDARSHANREDDY
  • 13. Mail Box – Related Functions : 1. Creating a mail box for an IPC. 2. Check for availability of an IPC after a msg at mail box. 3. Wating for availability of an IPC for a msg at mail box. 4. Send a msg for an IPC through mail box. 5. Finding mail box data and retrieving the error information for mail box. 1/25/2015 J.SUDARSHANREDDY
  • 14. By using a queue we can communicate an array of msg pointers From the task. The msg pointers can be posted into queue by the task either at the Back as in a queue or at the front as in a stack.  Creating a queue for An IPC.  Waiting for an IPC msg at a queue.  Emptying the queue & eliminating all the msg pointers.  Sending a msg pointer to the queue.  Sendingh a msg pointer & inserting it at the queue front.  Querying to find the msg & error information for the queue ECB.1/25/2015 J.SUDARSHANREDDY