DMS-OS ADP-Light ADP-Standart ADP-Profesyonel
 
İrtibat
Telefonlarımız:
0216.456 06 06
Faks:
0216.455 93 24
Eposta:

DMS-OS Komut Seti

DMS-OS Kernel Routines
OSGetVersion
This function returns a pointer to the DMS-OS2 version string.
OSGetSerialNr
This function returns a pointer to the DMS-OS2 serial number string.
OSAddISR
This function can add an Interrupt Service Routine while the Operating System is running.
OSDelISR
This function can remove an Interrupt Service Routine while the Operating System is running.
OSWaitObject
This function lets a task wait until one of the user specified events occur.
OSAddTSK
This function adds a task to the Operating Systems task list. After this command the task starts to run.
OSDelTSK
This function removes a valid task form the Operating Systems task list.
OSGetTaskHANDLE
This function returns a handle of the task, which calls this function.
OSMalloc
This function tries to allocate memory from the Operating Systems heap.
OSFree
This function tries to free Operating Systems heap memory, allocated with the OSMalloc function.
OSGetMemSize
This function returns the current memory settings of the ADP.
OSSetMemSize
This function tries to set the memory to a specified setting for the ADP.
OSSetMemPage
This function sets the current page if page memory is used (Only available in the ADP-Pro).
OSGetMemPage
This function returns the current page selected in the page memory (Only available in the ADP-Pro).
OSSystemCrash
This function should be called if a unrecoverable error occurs. The Operating System will reset itself and tries to restart the application.
OSSetTimer
This function will start a timer for the current task. Every task has one timer available.
OSResetTimer
This function will reset a timer for the current task. Every task has one timer available.
OSInitRTC
This function will try to find a Real Time Clock. If you want to make use of a Real Time Clock you should always call this function as one of the first functions in your application. It will start the RTC or Operating Systems internal clock.
OSDelay
This will put the current task for a specified number of milliseconds to sleep.
OSAckTimer
This function should be called if the event returned by the OSWaitObject was a timer event.
OSSetTime
This function sets the Operating Systems RTC or internal clock. You must have called OSInitRTC first.
OSGetTime
This function gets the Operating Systems RTC or internal clock time. You must have called OSInitRTC first.
OSSetDate
This function sets the Operating Systems RTC or internal date. You must have called OSInitRTC first.
OSGetDate
This function gets the Operating Systems RTC or internal date. You must have called OSInitRTC first.
OSPostMSG
This function can post a message to another task. It will return without waiting. Normally the task you want to post a message to, is a parent task or a child task. This is because of the ‘TREE’ structure of the Operating System.
OSSendMSG
This function can send a message to another task. It will only return if no other messages were waiting. Normally the task you want to send a message to, is a parent task or a child task. This is because of the ‘TREE’ structure of the Operating System.
OSGetMSG
This function retrieves a message from this tasks message queue. If no message is available it will wait until a message arrives.
OSSemUP
This function is to signal a parent or child task. It will wakeup the specified task and it should reply this function with a OSSemDOWN. This is the fastest way to activate or deactivate a task.
OSSemDOWN
This function is to acknowledge the signal send by a parent or child task. If there was no OSSemUP first the task will go to sleep and wait for the signal to arrive. This is the fastest way to activate or deactivate a task.
OSCreateIO
This function will install a driver to a specified recourse. It can install callback functions for the initialization of the driver, the read callback, the write callback and a optional Interrupt Service Routine (if available for this recourse).
OSCloseIO
This function will remove the driver callback and interrupt functions previously installed with the OSCreateIO function.
OSReadIO
This function should be called when you want to read from a recourse. All recourses are handled in the same way if you designed your driver according to the DMS-OS2 driver recommendations. This creates a hardware independent way of controlling any type of IO.
OSWriteIO
This function should be called when you want to write to a recourse. All recourses are handled in the same way if you designed your driver according to the DMS-OS2 driver recommendations. This creates a hardware independent way of controlling any type of IO.
_OSSemUP (Only used if you design your own driver)
This function should be called only from inside a Interrupt Service Routine to signal the parent a interrupt occurred.
DMS-OS2 Support Routines
byte2bcd
This is a support routine, which converts a byte value to a BCD value.
bcd2byte
This is a support routine, which converts a BCD value to a byte value.
DMS-OS2 LCD Callback Routines
CB_LCD
This is the callback function to initialize the LCD driver.
WR_CB_LCD
This is the write callback function for the LCD driver.
DMS-OS2 LED Callback Routines
CB_LEDS
This is the callback function to initialize the LED driver.
WR_CB_LEDS
This is the write callback function for the LED driver.
DMS-OS2 Buzzer Callback Routines
CB_BUZZER
This is the callback function to initialize the BUZZER driver.
WR_CB_BUZZER
This is the write callback function for the BUZZER driver.
DMS-OS2 Keyboard Callback and Interrupt Routines
I_KEYB
This is the Interrupt Service Routine callback function for the KEYBOARD driver.
CB_KEYB
This is the callback function to initialize the KEYBOARD driver.
RD_CB_KEYB
This is the read callback function for the KEYBOARD driver.

Daha fazla bilgi için

Ana Sayfa

Önce siz olun!
Email'inizi gönderin, DMS Tech güncellendiği zaman size haber verelim.
E-mail adresim:
DMS Tech
GSM ve Mobitex Networkü
çözüm ortağı
Turkcell
İletişim Networkleri
DMS Tech mobitex çözüm ortağıdır

flash yükleyin


Bu site hakkındaki soru ve fikirlerinizi 'a yollayınız.

Copyright © DMS Tech. Data Mühendislik Sistemleri Teknolojik Yazılım ve Bilgisayar Hizmetleri. Tüm hakları saklıdır.
S.Akal tarafından tasarlanmış ve DMS Tech NET'te yayınlanmaktadır.