<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.pic24.ru/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.pic24.ru/feed.php">
        <title>PIC24 en:osa:ref:allservices</title>
        <description></description>
        <link>http://www.pic24.ru/</link>
        <image rdf:resource="http://www.pic24.ru/lib/images/favicon.ico" />
       <dc:date>2023-02-11T13:07:48+03:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_check?rev=1286445365"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_reset?rev=1286445366"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_set?rev=1246375352"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_signal?rev=1286445368"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_switch?rev=1286445369"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait?rev=1286445369"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait_to?rev=1286445370"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_cond_wait?rev=1246217337"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_cond_wait_to?rev=1246217262"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_accept?rev=1286445373"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_check?rev=1286445374"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_create?rev=1286445375"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_reset?rev=1286445376"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_set?rev=1286445376"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_setvalue?rev=1286445377"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal?rev=1260573872"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal_now?rev=1260574919"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait?rev=1286445380"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait_to?rev=1286445381"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_delay?rev=1286445381"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_di?rev=1286445382"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add?rev=1265302570"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break?rev=1265303035"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check?rev=1286445385"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue?rev=1265302555"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create?rev=1265302474"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay?rev=1265302514"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete?rev=1265302484"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get?rev=1286445389"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive?rev=1265302578"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun?rev=1286445390"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped?rev=1265302585"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause?rev=1265302547"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run?rev=1265302492"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_stop?rev=1246375626"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update?rev=1265302562"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait?rev=1265302507"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ei?rev=1286445396"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_entercriticalsection?rev=1286445397"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_enterint?rev=1286445397"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_alloff?rev=1286445398"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_allon?rev=1286445399"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_off?rev=1286445400"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_on?rev=1286445401"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_clear?rev=1286445401"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_create?rev=1286445402"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_init?rev=1286445403"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_set?rev=1286445404"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_alloff?rev=1286445405"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_alloff_to?rev=1286445406"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_allon?rev=1286445406"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_allon_to?rev=1286445407"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_off?rev=1286445408"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_off_to?rev=1286445409"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_on?rev=1286445410"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_on_to?rev=1286445410"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_getcurtask?rev=1230385527"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_init?rev=1286445412"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iserror?rev=1286445413"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iseventerror?rev=1286445414"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_isincriticalsection?rev=1286445414"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_istimeout?rev=1250587303"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_leavecriticalsection?rev=1286445416"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_leaveint?rev=1231898346"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_accept?rev=1286445418"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_check?rev=1286445418"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_create?rev=1286445419"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send?rev=1259945939"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_i?rev=1286445421"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_now?rev=1259946102"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_to?rev=1259946032"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait?rev=1286445423"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait_to?rev=1286445424"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_check?rev=1286445425"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run16?rev=1286445426"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run24?rev=1286445427"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run32?rev=1286445427"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run8?rev=1286445428"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_stop?rev=1286445429"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_wait?rev=1286445430"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_break?rev=1286445431"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_check?rev=1266836707"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_create?rev=1286445432"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delay?rev=1286445433"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delete?rev=1286445434"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_get?rev=1266836759"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_isrun?rev=1286445436"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_run?rev=1286445436"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_wait?rev=1286445437"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_check?rev=1286445438"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_create?rev=1286445439"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isempty?rev=1286445440"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isfull?rev=1246374475"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send?rev=1259946234"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_i?rev=1286445442"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_now?rev=1259946271"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_to?rev=1259946289"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait?rev=1286445445"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait_to?rev=1286445445"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ri?rev=1286445446"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_run?rev=1286445447"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_sched?rev=1286445448"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_accept?rev=1286445449"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_check?rev=1286445449"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_create?rev=1286445450"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send?rev=1286445451"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_i?rev=1286445452"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_now?rev=1286445453"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_to?rev=1286445454"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_wait?rev=1286445455"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_wait_to?rev=1286445455"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_check?rev=1286445456"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_create?rev=1286445457"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_isempty?rev=1286445458"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_isfull?rev=1246375036"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send?rev=1286445460"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_i?rev=1286445460"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_now?rev=1286445461"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_to?rev=1286445462"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait?rev=1286445463"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait_to?rev=1286445464"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc?rev=1265324308"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break?rev=1286445465"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check?rev=1265300954"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue?rev=1265300992"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay?rev=1265300927"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found?rev=1265324284"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free?rev=1265324293"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get?rev=1265300944"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun?rev=1265300966"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause?rev=1265300978"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run?rev=1266852491"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_stop?rev=1265300866"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait?rev=1265300917"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_continue?rev=1286445476"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_create?rev=1248261120"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_define?rev=1286445478"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_delete?rev=1286445479"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getcreated?rev=1286445479"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getcur?rev=1286445480"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getpriority?rev=1286445481"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_isenable?rev=1286445482"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_ispaused?rev=1286445483"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_pause?rev=1286445484"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_replace?rev=1286445485"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_setpriority?rev=1286445485"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_stop?rev=1286445486"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer?rev=1286445487"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break?rev=1265302084"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check?rev=1265302056"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue?rev=1265302157"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay?rev=1265302105"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get?rev=1265302129"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun?rev=1265302142"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause?rev=1265302150"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run?rev=1265302073"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait?rev=1265302094"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait?rev=1286445496"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait_to?rev=1286445497"/>
                <rdf:li rdf:resource="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_yield?rev=1286445497"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.pic24.ru/lib/images/favicon.ico">
        <title>PIC24</title>
        <link>http://www.pic24.ru/</link>
        <url>http://www.pic24.ru/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_check?rev=1286445365">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:05+03:00</dc:date>
        <title>OSA : OS_Bsem_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_check?rev=1286445365</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_reset?rev=1286445366">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:06+03:00</dc:date>
        <title>OSA : OS_Bsem_Reset</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_reset?rev=1286445366</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_set?rev=1246375352">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-30T19:22:32+03:00</dc:date>
        <title>OSA : OS_Bsem_Set</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_set?rev=1246375352</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_bsem_set&quot; id=&quot;osa_os_bsem_set&quot;&gt;OSA : OS_Bsem_Set&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_bsem_set_bsem&quot; id=&quot;os_bsem_set_bsem&quot;&gt;OS_Bsem_Set (bsem)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

(Same as &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_signal&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_bsem_signal&quot;&gt;OS_Bsem_Signal&lt;/a&gt;)
&lt;/p&gt;

&lt;p&gt;
Signal binary semaphore.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;bsem&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Binary semaphore&amp;#039;s ID. Number of binary semaphores is set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_BSEMS&lt;/a&gt;&lt;/span&gt; constant in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Bsem_Set&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;  &lt;span class=&quot;co1&quot;&gt;// Set binari semaphore #3&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SetBSem&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_bsem_check&quot;&gt;OS_Bsem_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_reset&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_bsem_reset&quot;&gt;OS_Bsem_Reset&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_switch&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_bsem_switch&quot;&gt;OS_Bsem_Switch&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_bsem_wait&quot;&gt;OS_Bsem_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_bsem_wait_to&quot;&gt;OS_Bsem_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_signal?rev=1286445368">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:08+03:00</dc:date>
        <title>OSA : OS_Bsem_Signal</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_signal?rev=1286445368</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_switch?rev=1286445369">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:09+03:00</dc:date>
        <title>OSA : OS_Bsem_Switch</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_switch?rev=1286445369</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait?rev=1286445369">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:09+03:00</dc:date>
        <title>OSA : OS_Bsem_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait?rev=1286445369</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait_to?rev=1286445370">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:10+03:00</dc:date>
        <title>OSA : OS_Bsem_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_bsem_wait_to?rev=1286445370</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_cond_wait?rev=1246217337">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-28T23:28:57+03:00</dc:date>
        <title>OSA : OS_Cond_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_cond_wait?rev=1246217337</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_cond_wait&quot; id=&quot;osa_os_cond_wait&quot;&gt;OSA : OS_Cond_Wait&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_cond_wait_condition&quot; id=&quot;os_cond_wait_condition&quot;&gt;OS_Cond_Wait (condition)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

See &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_wait&quot;&gt;OS_Wait&lt;/a&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_cond_wait_to?rev=1246217262">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-28T23:27:42+03:00</dc:date>
        <title>OSA : OS_Cond_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_cond_wait_to?rev=1246217262</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_cond_wait_to&quot; id=&quot;osa_os_cond_wait_to&quot;&gt;OSA : OS_Cond_Wait_TO&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_cond_wait_to_condition_timeout&quot; id=&quot;os_cond_wait_to_condition_timeout&quot;&gt;OS_Cond_Wait_TO (condition, timeout)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

See &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_wait_to&quot;&gt;OS_Wait_TO&lt;/a&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_accept?rev=1286445373">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:13+03:00</dc:date>
        <title>OSA : OS_Csem_Accept</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_accept?rev=1286445373</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_check?rev=1286445374">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:14+03:00</dc:date>
        <title>OSA : OS_Csem_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_check?rev=1286445374</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_create?rev=1286445375">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:15+03:00</dc:date>
        <title>OSA : OS_Csem_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_create?rev=1286445375</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_reset?rev=1286445376">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:16+03:00</dc:date>
        <title>OSA : OS_Csem_Reset</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_reset?rev=1286445376</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_set?rev=1286445376">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:16+03:00</dc:date>
        <title>OSA : OS_Csem_Set</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_set?rev=1286445376</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_setvalue?rev=1286445377">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:17+03:00</dc:date>
        <title>OSA : OS_Csem_SetValue</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_setvalue?rev=1286445377</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal?rev=1260573872">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-12T02:24:32+03:00</dc:date>
        <title>OSA : OS_Csem_Signal</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal?rev=1260573872</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_csem_signal&quot; id=&quot;osa_os_csem_signal&quot;&gt;OSA : OS_Csem_Signal&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_csem_signal_csem&quot; id=&quot;os_csem_signal_csem&quot;&gt;OS_Csem_Signal (csem)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_csem_signal&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Increase counting semaphore&amp;#039;s value by 1. If semaphore can not be increased (already at maximum) then task switches to waiting state until some another task will decrease semaphore&amp;#039;s value
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_CSEM&lt;/a&gt;&lt;/span&gt; constant must be defined in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h.&lt;/a&gt;&lt;/span&gt; Size of counting semaphores defined by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_CSEM_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;p&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
For PIC16 counting semaphores can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;csem&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Counting semaphore. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_csem&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_CSEM&lt;/a&gt;&lt;/span&gt; type		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_CSEM csem;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Csem_Signal&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;csem&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SignalCSem&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_create&quot;&gt;OS_Csem_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_set&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_set&quot;&gt;OS_Csem_Set&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_setvalue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_setvalue&quot;&gt;OS_Csem_SetValue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal_now&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_signal_now&quot;&gt;OS_Csem_Signal_Now&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_reset&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_reset&quot;&gt;OS_Csem_Reset&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_accept&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_accept&quot;&gt;OS_Csem_Accept&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_signal_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Signal_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_set_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_set_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Set_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_setvalue_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_setvalue_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_SetValue_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_reset_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_reset_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Reset_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_accept_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_accept_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Accept_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_check&quot;&gt;OS_Csem_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_check_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_check_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Check_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_wait&quot;&gt;OS_Csem_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_wait_to&quot;&gt;OS_Csem_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal_now?rev=1260574919">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-12T02:41:59+03:00</dc:date>
        <title>OSA : OS_Csem_Signal_Now</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal_now?rev=1260574919</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_csem_signal_now&quot; id=&quot;osa_os_csem_signal_now&quot;&gt;OSA : OS_Csem_Signal_Now&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;span style='color:blue; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Csem_Signal_Now (csem)&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 
&lt;span style='color:blue; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Csem_Signal_Now_I (csem)&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 
&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

Increase counting semaohore&amp;#039;s value by 1. If counting semaphore already has maximum value, then after service execution service &lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsEventError will return true.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_CSEM&lt;/a&gt;&lt;/span&gt; constant must be defined in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h.&lt;/a&gt;&lt;/span&gt; Size of counting semaphores defined by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_CSEM_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;p&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
For PIC16 counting semaphores can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;csem&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Counting semaphore. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_csem&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_CSEM&lt;/a&gt;&lt;/span&gt; type		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsEventError() returns true if counting semaphore already has maximum value
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_CSEM csem;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Csem_Signal&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;csem&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SignalCSem&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_create&quot;&gt;OS_Csem_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_set&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_set&quot;&gt;OS_Csem_Set&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_setvalue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_setvalue&quot;&gt;OS_Csem_SetValue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_reset&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_reset&quot;&gt;OS_Csem_Reset&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_accept&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_accept&quot;&gt;OS_Csem_Accept&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_signal_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_signal_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Signal_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_set_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_set_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Set_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_setvalue_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_setvalue_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_SetValue_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_reset_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_reset_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Reset_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_accept_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_accept_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Accept_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_check&quot;&gt;OS_Csem_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_check_i&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_csem_check_i&quot; rel=&quot;nofollow&quot;&gt;OS_Csem_Check_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_wait&quot;&gt;OS_Csem_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_csem_wait_to&quot;&gt;OS_Csem_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait?rev=1286445380">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:20+03:00</dc:date>
        <title>OSA : OS_Csem_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait?rev=1286445380</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait_to?rev=1286445381">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:21+03:00</dc:date>
        <title>OSA : OS_Csem_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_csem_wait_to?rev=1286445381</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_delay?rev=1286445381">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:21+03:00</dc:date>
        <title>OSA : OS_Delay</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_delay?rev=1286445381</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_di?rev=1286445382">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:22+03:00</dc:date>
        <title>OSA : OS_DI</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_di?rev=1286445382</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add?rev=1265302570">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:56:10+03:00</dc:date>
        <title>OSA : OS_Dtimer_Add</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add?rev=1265302570</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_add&quot; id=&quot;osa_os_dtimer_add&quot;&gt;OSA : OS_Dtimer_Add&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_add_dtimer_addtime&quot; id=&quot;os_dtimer_add_dtimer_addtime&quot;&gt;OS_Dtimer_Add (dtimer, addtime)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Increase time of dinamic timer counter. Timeout flag will remain unchanged.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;addtime&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Value to be added to timer&amp;#039;s counter. Sets in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods. Size of &lt;em&gt;time&lt;/em&gt; value must be less than size of timer		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        OS_Dtimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;   &lt;span class=&quot;co1&quot;&gt;// Run 100 ticks timer&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Add&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer, &lt;span class=&quot;nu0&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Add 50 ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_AddDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break?rev=1265303035">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T20:03:55+03:00</dc:date>
        <title>OSA : OS_Dtimer_Break</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break?rev=1265303035</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_break&quot; id=&quot;osa_os_dtimer_break&quot;&gt;OSA : OS_Dtimer_Break&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_break_dtimer&quot; id=&quot;os_dtimer_break_dtimer&quot;&gt;OS_Dtimer_Break (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Stop dinamic timer. Timer will stay active but will not incremented in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt;(). Timeout flag became set (service &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pausep&lt;/a&gt;&lt;/span&gt; remains timeout flag unchanged).
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Break&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check?rev=1286445385">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:25+03:00</dc:date>
        <title>OSA : OS_Dtimer_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check?rev=1286445385</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue?rev=1265302555">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:55:55+03:00</dc:date>
        <title>OSA : OS_Dtimer_Continue</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue?rev=1265302555</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_continue&quot; id=&quot;osa_os_dtimer_continue&quot;&gt;OSA : OS_Dtimer_Continue&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_continue_dtimer&quot; id=&quot;os_dtimer_continue_dtimer&quot;&gt;OS_Dtimer_Continue (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Continue dinamic timer&amp;#039;s counting after pause.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Pause&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;      &lt;span class=&quot;co1&quot;&gt;// Pause&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Continue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;   &lt;span class=&quot;co1&quot;&gt;// Continue&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_ContinueDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create?rev=1265302474">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:54:34+03:00</dc:date>
        <title>OSA : OS_Dtimer_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create?rev=1265302474</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_create&quot; id=&quot;osa_os_dtimer_create&quot;&gt;OSA : OS_Dtimer_Create&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_create_dtimer&quot; id=&quot;os_dtimer_create_dtimer&quot;&gt;OS_Dtimer_Create (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_dtimer_create&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Adds dinamic timer &lt;em&gt;dtimer&lt;/em&gt; in active timers list. After creation timer is zeroed, timeout flag is cleared.
&lt;/p&gt;

&lt;p&gt;

&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OS_Dtimer_Create &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_CreateDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay?rev=1265302514">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:55:14+03:00</dc:date>
        <title>OSA : OS_Dtimer_Delay</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay?rev=1265302514</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_delay&quot; id=&quot;osa_os_dtimer_delay&quot;&gt;OSA : OS_Dtimer_Delay&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_delay_dtimer_delay&quot; id=&quot;os_dtimer_delay_dtimer_delay&quot;&gt;OS_Dtimer_Delay (dtimer, delay)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_dtimer_delay&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_dtimer_delay&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Delay current task using dinamic timer.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;delay&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Time of delay. Set in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OS_Dtimer_Create&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Delay &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;  &lt;span class=&quot;co1&quot;&gt;// Delay task for 100 system ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_DelayDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete?rev=1265302484">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:54:44+03:00</dc:date>
        <title>OSA : OS_Dtimer_Delete</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete?rev=1265302484</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_delete&quot; id=&quot;osa_os_dtimer_delete&quot;&gt;OSA : OS_Dtimer_Delete&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_delete_dtimer&quot; id=&quot;os_dtimer_delete_dtimer&quot;&gt;OS_Dtimer_Delete (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_dtimer_delete&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Delete dinamic timer from list of timers.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OS_Dtimer_Create&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;       &lt;span class=&quot;co1&quot;&gt;// Add timer in list&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Delete &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;  &lt;span class=&quot;co1&quot;&gt;// Delete timer from list before destroying task&lt;/span&gt;
        OS_Task_Stop&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;             &lt;span class=&quot;co1&quot;&gt;// Destroy task&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_DeleteDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get?rev=1286445389">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:29+03:00</dc:date>
        <title>OSA : OS_Dtimer_Get</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get?rev=1286445389</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive?rev=1265302578">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:56:18+03:00</dc:date>
        <title>OSA : OS_Dtimer_IsActive</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive?rev=1265302578</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_isactive&quot; id=&quot;osa_os_dtimer_isactive&quot;&gt;OSA : OS_Dtimer_IsActive&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_dtimer_isactive_dtimer&quot; id=&quot;bool_os_dtimer_isactive_dtimer&quot;&gt;bool OS_Dtimer_IsActive (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

Check for dinamic timer is present in list of timers.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 there is no specified &lt;em&gt;dtimer&lt;/em&gt; is list of timers		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 &lt;em&gt;dtimer&lt;/em&gt; is in list		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Dtimer_IsActive &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// If timer not in list&lt;/span&gt;
            OS_Dtimer_Create&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;     &lt;span class=&quot;co1&quot;&gt;// then add it&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsDTimerActive&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun?rev=1286445390">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:30+03:00</dc:date>
        <title>OSA : OS_Dtimer_IsRun</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun?rev=1286445390</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped?rev=1265302585">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:56:25+03:00</dc:date>
        <title>OSA : OS_Dtimer_IsStopped</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped?rev=1265302585</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_isstopped&quot; id=&quot;osa_os_dtimer_isstopped&quot;&gt;OSA : OS_Dtimer_IsStopped&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_dtimer_isstopped_dtimer&quot; id=&quot;bool_os_dtimer_isstopped_dtimer&quot;&gt;bool OS_Dtimer_IsStopped (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

Check for dinamic timer is stopped.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timer is run and counting		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timer is stopped or paused		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Dtimer_IsStopped&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;	&lt;span class=&quot;co1&quot;&gt;// if timer is stopped&lt;/span&gt;
            OS_RunTimer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;     &lt;span class=&quot;co1&quot;&gt;// then run it&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsDTimerStopped&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause?rev=1265302547">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:55:47+03:00</dc:date>
        <title>OSA : OS_Dtimer_Pause</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause?rev=1265302547</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_pause&quot; id=&quot;osa_os_dtimer_pause&quot;&gt;OSA : OS_Dtimer_Pause&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_pause_dtimer&quot; id=&quot;os_dtimer_pause_dtimer&quot;&gt;OS_Dtimer_Pause (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

Same as &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_stop&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_stop&quot;&gt;OS_Dtimer_Stop&lt;/a&gt;&lt;/span&gt;()
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Pause &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_PauseDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run?rev=1265302492">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:54:52+03:00</dc:date>
        <title>OSA : OS_Dtimer_Run</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run?rev=1265302492</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_run&quot; id=&quot;osa_os_dtimer_run&quot;&gt;OSA : OS_Dtimer_Run&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_run_dtimer_newtime&quot; id=&quot;os_dtimer_run_dtimer_newtime&quot;&gt;OS_Dtimer_Run (dtimer, newtime)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Start counting dinamic timer for time&lt;em&gt;newtime&lt;/em&gt;. Timeout flag is cleared.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;newtime&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Value to set timer&amp;#039;s counter. Sets in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods. Size of &lt;em&gt;time&lt;/em&gt; value must be less than size of timer		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OS_Dtimer_Create&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Run &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span class=&quot;co1&quot;&gt;// Run dtimer for 100 ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_RunDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_stop?rev=1246375626">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-30T19:27:06+03:00</dc:date>
        <title>OSA : OS_Dtimer_Stop</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_stop?rev=1246375626</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_stop&quot; id=&quot;osa_os_dtimer_stop&quot;&gt;OSA : OS_Dtimer_Stop&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_stop_dtimer&quot; id=&quot;os_dtimer_stop_dtimer&quot;&gt;OS_Dtimer_Stop (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Stop dinamic timer. Timer will stay active but will not incremented in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt;(). Timeout flag stay unchanged (to set timeout flag see &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/span&gt;).
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Stop&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_StopDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update?rev=1265302562">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:56:02+03:00</dc:date>
        <title>OSA : OS_Dtimer_Update</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update?rev=1265302562</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_update&quot; id=&quot;osa_os_dtimer_update&quot;&gt;OSA : OS_Dtimer_Update&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_update_dtimer_time&quot; id=&quot;os_dtimer_update_dtimer_time&quot;&gt;OS_Dtimer_Update (dtimer, time)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Re-run static timer for time &lt;em&gt;time&lt;/em&gt; since last overflow. Timeout flag is cleared.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;time&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Value to set timer&amp;#039;s counter. Sets in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods. Size of &lt;em&gt;time&lt;/em&gt; value must be less than size of timer		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OS_Dtimer_Create&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Wait&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        OS_Dtimer_Update &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_UpdateDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait?rev=1265302507">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:55:07+03:00</dc:date>
        <title>OSA : OS_Dtimer_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait?rev=1265302507</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_dtimer_wait&quot; id=&quot;osa_os_dtimer_wait&quot;&gt;OSA : OS_Dtimer_Wait&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_dtimer_wait_dtimer&quot; id=&quot;os_dtimer_wait_dtimer&quot;&gt;OS_Dtimer_Wait (dtimer)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_dtimer_wait&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_dtimer_wait&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Wait for dinamic timer will overflow.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_DTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of dynamic timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_DTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;dtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of dynamic timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_dtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_DTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_DTIMER dtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Dtimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        OS_Dtimer_Wait&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;     &lt;span class=&quot;co1&quot;&gt;// Wait 100 ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_WaitDTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_create&quot;&gt;OS_Dtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delete&quot;&gt;OS_Dtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_run&quot;&gt;OS_Dtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_break&quot;&gt;OS_Dtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_wait&quot;&gt;OS_Dtimer_Wait&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_delay&quot;&gt;OS_Dtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_pause&quot;&gt;OS_Dtimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_continue&quot;&gt;OS_Dtimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_update&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_update&quot;&gt;OS_Dtimer_Update&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_add&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_add&quot;&gt;OS_Dtimer_Add&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isactive&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isactive&quot;&gt;OS_Dtimer_IsActive&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isstopped&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isstopped&quot;&gt;OS_Dtimer_IsStopped&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_get&quot;&gt;OS_Dtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_check&quot;&gt;OS_Dtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_dtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_dtimer_isrun&quot;&gt;OS_Dtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ei?rev=1286445396">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:36+03:00</dc:date>
        <title>OSA : OS_EI</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ei?rev=1286445396</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_entercriticalsection?rev=1286445397">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:37+03:00</dc:date>
        <title>OSA : OS_EnterCriticalSection</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_entercriticalsection?rev=1286445397</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_enterint?rev=1286445397">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:37+03:00</dc:date>
        <title>OSA : OS_EnterInt</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_enterint?rev=1286445397</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_alloff?rev=1286445398">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:38+03:00</dc:date>
        <title>OSA : OS_Flag_Check_AllOff</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_alloff?rev=1286445398</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_allon?rev=1286445399">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:39+03:00</dc:date>
        <title>OSA : OS_Flag_Check_AllOn</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_allon?rev=1286445399</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_off?rev=1286445400">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:40+03:00</dc:date>
        <title>OSA : OS_Flag_Check_Off</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_off?rev=1286445400</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_on?rev=1286445401">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:41+03:00</dc:date>
        <title>OSA : OS_Flag_Check_On</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_check_on?rev=1286445401</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_clear?rev=1286445401">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:41+03:00</dc:date>
        <title>OSA : OS_Flag_Clear</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_clear?rev=1286445401</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_create?rev=1286445402">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:42+03:00</dc:date>
        <title>OSA : OS_Flag_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_create?rev=1286445402</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_init?rev=1286445403">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:43+03:00</dc:date>
        <title>OSA : OS_Flag_Init</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_init?rev=1286445403</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_set?rev=1286445404">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:44+03:00</dc:date>
        <title>OSA : OS_Flag_Set</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_set?rev=1286445404</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_alloff?rev=1286445405">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:45+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_AllOff</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_alloff?rev=1286445405</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_alloff_to?rev=1286445406">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:46+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_AllOff_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_alloff_to?rev=1286445406</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_allon?rev=1286445406">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:46+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_AllOn</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_allon?rev=1286445406</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_allon_to?rev=1286445407">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:47+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_AllOn_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_allon_to?rev=1286445407</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_off?rev=1286445408">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:48+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_Off</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_off?rev=1286445408</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_off_to?rev=1286445409">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:49+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_Off_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_off_to?rev=1286445409</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_on?rev=1286445410">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:50+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_On</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_on?rev=1286445410</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_on_to?rev=1286445410">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:50+03:00</dc:date>
        <title>OSA : OS_Flag_Wait_On_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_flag_wait_on_to?rev=1286445410</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_getcurtask?rev=1230385527">
        <dc:format>text/html</dc:format>
        <dc:date>2008-12-27T16:45:27+03:00</dc:date>
        <title>OSA : OS_GetCurTask</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_getcurtask?rev=1230385527</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_getcurtask&quot; id=&quot;osa_os_getcurtask&quot;&gt;OSA : OS_GetCurTask&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;ost_tcb_pointer_os_getcurtask&quot; id=&quot;ost_tcb_pointer_os_getcurtask&quot;&gt;OST_TCB_POINTER * OS_GetCurTask ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_getcurtask&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Get pointer to task control block (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_tcb_pointer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_TCB_POINTER&lt;/a&gt;&lt;/span&gt;) of current task. This pointer can be used in services that controls task indirrectly (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_pausetask&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_pausetask&quot; rel=&quot;nofollow&quot;&gt;OS_PauseTask&lt;/a&gt;&lt;/span&gt;, &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_continuetask&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_continuetask&quot; rel=&quot;nofollow&quot;&gt;OS_ContinueTask&lt;/a&gt;&lt;/span&gt;, ect). Usualy this service called in the begin of task-function.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Non
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_tcb_pointer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_TCB_POINTER&lt;/a&gt;&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 Pointer to current task descriptor		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_TCB_POINTER tp_Task;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    tp_Task &lt;span class=&quot;sy1&quot;&gt;=&lt;/span&gt; OS_GetCurTask&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_createtask&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_createtask&quot; rel=&quot;nofollow&quot;&gt;OS_CreateTask&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_replacetask&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_replacetask&quot; rel=&quot;nofollow&quot;&gt;OS_ReplaceTask&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_deletetask&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_deletetask&quot; rel=&quot;nofollow&quot;&gt;OS_DeleteTask&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_pausetask&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_pausetask&quot; rel=&quot;nofollow&quot;&gt;OS_PauseTask&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_continuetask&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_continuetask&quot; rel=&quot;nofollow&quot;&gt;OS_ContinueTask&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_istaskpaused&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_istaskpaused&quot; rel=&quot;nofollow&quot;&gt;OS_IsTaskPaused&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_gettaskpriority&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_gettaskpriority&quot; rel=&quot;nofollow&quot;&gt;OS_GetTaskPriority&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_settaskpriority&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_settaskpriority&quot; rel=&quot;nofollow&quot;&gt;OS_SetTaskPriority&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_init?rev=1286445412">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:52+03:00</dc:date>
        <title>OSA : OS_Init</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_init?rev=1286445412</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iserror?rev=1286445413">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:53+03:00</dc:date>
        <title>OSA : OS_IsError</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iserror?rev=1286445413</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iseventerror?rev=1286445414">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:54+03:00</dc:date>
        <title>OSA : OS_IsEventError</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iseventerror?rev=1286445414</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_isincriticalsection?rev=1286445414">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:54+03:00</dc:date>
        <title>OSA : OS_IsInCriticalSection</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_isincriticalsection?rev=1286445414</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_istimeout?rev=1250587303">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-18T13:21:43+03:00</dc:date>
        <title>OSA : OS_IsTimeout</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_istimeout?rev=1250587303</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_istimeout&quot; id=&quot;osa_os_istimeout&quot;&gt;OSA : OS_IsTimeout&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_istimeout&quot; id=&quot;bool_os_istimeout&quot;&gt;bool OS_IsTimeout ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_istimeout&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Uses timer&quot; alt=&quot;Uses timer&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Return true if previos service exit with timeout.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Non
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 event occured before timeout expired		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timeout expired before event occured		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Wait_TO&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;RB0 &lt;span class=&quot;sy1&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_IsTimeout&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;//&lt;/span&gt;
            &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_leavecriticalsection?rev=1286445416">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:56+03:00</dc:date>
        <title>OSA : OS_LeaveCriticalSection</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_leavecriticalsection?rev=1286445416</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_leaveint?rev=1231898346">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-14T04:59:06+03:00</dc:date>
        <title>OSA : OS_LeaveInt</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_leaveint?rev=1231898346</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_leaveint&quot; id=&quot;osa_os_leaveint&quot;&gt;OSA : OS_LeaveInt&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_leaveint&quot; id=&quot;os_leaveint&quot;&gt;OS_LeaveInt ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_leaveint&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_int.png&quot; class=&quot;media&quot; title=&quot;Only insize interrupt&quot; alt=&quot;Only insize interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
For &lt;strong&gt;PICC&lt;/strong&gt; and &lt;strong&gt;PICC18&lt;/strong&gt; this service must be called in the end of interrupt routine. This service restores FSR (FSR0 for PIC18) value (stored by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_enterint&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_enterint&quot;&gt;OS_EnterInt&lt;/a&gt;&lt;/span&gt;).
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Non
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; interrupt isr &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; a, b;  &lt;span class=&quot;co1&quot;&gt;// some variables&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;// After definiting all variables wee need to call service:&lt;/span&gt;
    OS_EnterInt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;co1&quot;&gt;// Before exit form interrupt we need to call service&lt;/span&gt;
    OS_LeaveInt&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_accept?rev=1286445418">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:58+03:00</dc:date>
        <title>OSA : OS_Msg_Accept</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_accept?rev=1286445418</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_check?rev=1286445418">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:58+03:00</dc:date>
        <title>OSA : OS_Msg_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_check?rev=1286445418</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_create?rev=1286445419">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:56:59+03:00</dc:date>
        <title>OSA : OS_Msg_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_create?rev=1286445419</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send?rev=1259945939">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-04T19:58:59+03:00</dc:date>
        <title>OSA : OS_Msg_Send</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send?rev=1259945939</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_msg_send&quot; id=&quot;osa_os_msg_send&quot;&gt;OSA : OS_Msg_Send&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_msg_send_msg_cb_message&quot; id=&quot;os_msg_send_msg_cb_message&quot;&gt;OS_Msg_Send (msg_cb, message)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_msg_send&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_msg_send&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Send message message through &lt;em&gt;msg_cb&lt;/em&gt;. If msg_cb is busy then wait when it became free.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;msg_cb&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Pointer to message descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg_cb&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG_CB&lt;/a&gt;&lt;/span&gt; type		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
pointer to message body (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG&lt;/a&gt;&lt;/span&gt;)		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_MSG_CB msg_cb;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OST_MSG msg;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; buf&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Msg_Send&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;msg_cb, buf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SendMsg&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_create&quot;&gt;OS_Msg_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send_to&quot;&gt;OS_Msg_Send_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_now&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send_now&quot;&gt;OS_Msg_Send_Now&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send_i&quot;&gt;OS_Msg_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_check&quot;&gt;OS_Msg_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_accept&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_accept&quot;&gt;OS_Msg_Accept&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_wait&quot;&gt;OS_Msg_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_wait_to&quot;&gt;OS_Msg_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_i?rev=1286445421">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:01+03:00</dc:date>
        <title>OSA : OS_Msg_Send_I</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_i?rev=1286445421</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_now?rev=1259946102">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-04T20:01:42+03:00</dc:date>
        <title>OSA : OS_Msg_Send_Now</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_now?rev=1259946102</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_msg_send_now&quot; id=&quot;osa_os_msg_send_now&quot;&gt;OSA : OS_Msg_Send_Now&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_msg_send_now_msg_cb_message&quot; id=&quot;os_msg_send_now_msg_cb_message&quot;&gt;OS_Msg_Send_Now (msg_cb, message)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_msg_send_now&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Send message througth &lt;em&gt;msg_cb&lt;/em&gt;. If &lt;em&gt;msg_cb&lt;/em&gt; already exists then it will be overwritten.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;msg_cb&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Pointer to message descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg_cb&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG_CB&lt;/a&gt;&lt;/span&gt; type		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
pointer to message body (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG&lt;/a&gt;&lt;/span&gt;)		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;bEventError&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
If &lt;em&gt;msg_cb&lt;/em&gt; is not free then &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iseventerror&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_iseventerror&quot;&gt;OS_IsEventError&lt;/a&gt;&lt;/span&gt; will return &lt;strong&gt;true&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_MSG_CB msg_cb;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OST_MSG msg;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; buf&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Msg_Send_Now &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;msg_cb, buf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SendMsgNoWait&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_create&quot;&gt;OS_Msg_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send&quot;&gt;OS_Msg_Send&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send_to&quot;&gt;OS_Msg_Send_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send_i&quot;&gt;OS_Msg_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_check&quot;&gt;OS_Msg_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_accept&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_accept&quot;&gt;OS_Msg_Accept&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_wait&quot;&gt;OS_Msg_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_wait_to&quot;&gt;OS_Msg_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_to?rev=1259946032">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-04T20:00:32+03:00</dc:date>
        <title>OSA : OS_Msg_Send_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_to?rev=1259946032</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_msg_send_to&quot; id=&quot;osa_os_msg_send_to&quot;&gt;OSA : OS_Msg_Send_TO&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_msg_send_to_msg_cb_message_timeout&quot; id=&quot;os_msg_send_to_msg_cb_message_timeout&quot;&gt;OS_Msg_Send_TO (msg_cb, message, timeout)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_msg_send_to&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_msg_send_to&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_msg_send_to&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Uses timer&quot; alt=&quot;Uses timer&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Same as &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send&quot;&gt;OS_Msg_Send&lt;/a&gt;&lt;/span&gt; with exit if timeout will expired. If timeout expires before message is free then new message will not be sent.
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;msg_cb&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Pointer to message descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg_cb&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG_CB&lt;/a&gt;&lt;/span&gt; type		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
pointer to message body (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG&lt;/a&gt;&lt;/span&gt;)		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;timeout&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Time of waiting in system ticks - calling &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;timeout&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
If timeout expired then system service &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_istimeout&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_istimeout&quot;&gt;OS_IsTimeout&lt;/a&gt;&lt;/span&gt; will return &lt;strong&gt;true&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_MSG_CB msg_cb;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OST_MSG msg;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; buf&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Msg_Send_TO &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;msg_cb, buf, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_IsTimeout&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;// Message is not sent!&lt;/span&gt;
            &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SendMsgTimeout&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_create&quot;&gt;OS_Msg_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send&quot;&gt;OS_Msg_Send&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_now&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send_now&quot;&gt;OS_Msg_Send_Now&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_send_i&quot;&gt;OS_Msg_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_check&quot;&gt;OS_Msg_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_accept&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_accept&quot;&gt;OS_Msg_Accept&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_wait&quot;&gt;OS_Msg_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_msg_wait_to&quot;&gt;OS_Msg_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait?rev=1286445423">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:03+03:00</dc:date>
        <title>OSA : OS_Msg_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait?rev=1286445423</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait_to?rev=1286445424">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:04+03:00</dc:date>
        <title>OSA : OS_Msg_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_msg_wait_to?rev=1286445424</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_check?rev=1286445425">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:05+03:00</dc:date>
        <title>OSA : OS_Oldtimer_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_check?rev=1286445425</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run16?rev=1286445426">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:06+03:00</dc:date>
        <title>OSA : OS_Oldtimer_Run16</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run16?rev=1286445426</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run24?rev=1286445427">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:07+03:00</dc:date>
        <title>OSA : OS_Oldtimer_Run24</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run24?rev=1286445427</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run32?rev=1286445427">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:07+03:00</dc:date>
        <title>OSA : OS_Oldtimer_Run32</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run32?rev=1286445427</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run8?rev=1286445428">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:08+03:00</dc:date>
        <title>OSA : OS_Oldtimer_Run8</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_run8?rev=1286445428</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_stop?rev=1286445429">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:09+03:00</dc:date>
        <title>OSA : OS_Oldtimer_Stop</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_stop?rev=1286445429</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_wait?rev=1286445430">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:10+03:00</dc:date>
        <title>OSA : OS_Oldtimer_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_oldtimer_wait?rev=1286445430</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_break?rev=1286445431">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:11+03:00</dc:date>
        <title>OSA : OS_Qtimer_Break</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_break?rev=1286445431</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_check?rev=1266836707">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-22T14:05:07+03:00</dc:date>
        <title>OSA : OS_Qtimer_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_check?rev=1266836707</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_qtimer_get&quot; id=&quot;osa_os_qtimer_get&quot;&gt;OSA : OS_Qtimer_Get&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;span style='color:blue; '&gt;&lt;strong&gt;_bool &lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Qtimer_Check (qtimer)&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 

&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

Check for timer overflowed.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_QTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_QTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywhere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;qtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_qtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_QTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 no timeout		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timeout expired, timer is overflowed		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_QTIMER qtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Qtimer_Check&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;qtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            &lt;span class=&quot;coMULTI&quot;&gt;/* ... */&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_create&quot;&gt;OS_Qtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_delete&quot;&gt;OS_Qtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_run&quot;&gt;OS_Qtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_break&quot;&gt;OS_Qtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_wait&quot;&gt;OS_Qtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_delay&quot;&gt;OS_Qtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_get&quot;&gt;OS_Qtimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_check&quot;&gt;OS_Qtimer_Check&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_isrun&quot;&gt;OS_Qtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_create?rev=1286445432">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:12+03:00</dc:date>
        <title>OSA : OS_Qtimer_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_create?rev=1286445432</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delay?rev=1286445433">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:13+03:00</dc:date>
        <title>OSA : OS_Qtimer_Delay</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delay?rev=1286445433</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delete?rev=1286445434">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:14+03:00</dc:date>
        <title>OSA : OS_Qtimer_Delete</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delete?rev=1286445434</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_get?rev=1266836759">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-22T14:05:59+03:00</dc:date>
        <title>OSA : OS_Qtimer_Get</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_get?rev=1266836759</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_qtimer_get&quot; id=&quot;osa_os_qtimer_get&quot;&gt;OSA : OS_Qtimer_Get&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;span style='color:blue; '&gt;&lt;strong&gt;_OST_QTIMER &lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Qtimer_Get (qtimer)&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 

&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_qtimer_get&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Get timer&amp;#039;s remaining time. Before call this service you should to do one of these things:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; to disable interrupts&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; to enter critical section&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;

Elsewere timer&amp;#039;s value can be changed in interrupt while reading.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_QTIMERS&lt;/a&gt;&lt;/span&gt; constant must be defined in OSAcfh.h. Size of timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_QTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;qtimer&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Descriptor of timer. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_qtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_QTIMER&lt;/a&gt;&lt;/span&gt; type. Contains timer counter, timer&amp;#039;s state frags and pointer to next timer in linst. For PIC16 can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_qtimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;_OST_QTIMER&lt;/a&gt;&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 integer value of remaining time (in system ticks)		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_QTIMER qtimer;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; itemp;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        itemp &lt;span class=&quot;sy1&quot;&gt;=&lt;/span&gt; OS_DI&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Qtimer_Get&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;qtimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;   &lt;span class=&quot;co1&quot;&gt;// Flash green led if remains&lt;/span&gt;
            GREEN_LED &lt;span class=&quot;sy1&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;;                &lt;span class=&quot;co1&quot;&gt;// less than ten ticks&lt;/span&gt;
        OS_RI&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;itemp&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_create&quot;&gt;OS_Qtimer_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_delete&quot;&gt;OS_Qtimer_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_run&quot;&gt;OS_Qtimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_break&quot;&gt;OS_Qtimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_wait&quot;&gt;OS_Qtimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_delay&quot;&gt;OS_Qtimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_get&quot;&gt;OS_Qtimer_Get&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_check&quot;&gt;OS_Qtimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_qtimer_isrun&quot;&gt;OS_Qtimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_isrun?rev=1286445436">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:16+03:00</dc:date>
        <title>OSA : OS_Qtimer_IsRun</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_isrun?rev=1286445436</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_run?rev=1286445436">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:16+03:00</dc:date>
        <title>OSA : OS_Qtimer_Run</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_run?rev=1286445436</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_wait?rev=1286445437">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:17+03:00</dc:date>
        <title>OSA : OS_Qtimer_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_qtimer_wait?rev=1286445437</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_check?rev=1286445438">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:18+03:00</dc:date>
        <title>OSA : OS_Queue_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_check?rev=1286445438</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_create?rev=1286445439">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:19+03:00</dc:date>
        <title>OSA : OS_Queue_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_create?rev=1286445439</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isempty?rev=1286445440">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:20+03:00</dc:date>
        <title>OSA : OS_Queue_IsEmpty</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isempty?rev=1286445440</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isfull?rev=1246374475">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-30T19:07:55+03:00</dc:date>
        <title>OSA : OS_Queue_IsFull</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isfull?rev=1246374475</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_queue_isfull&quot; id=&quot;osa_os_queue_isfull&quot;&gt;OSA : OS_Queue_IsFull&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_queue_isfull_queue&quot; id=&quot;bool_os_queue_isfull_queue&quot;&gt;bool OS_Queue_IsFull (queue)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

Check for queue of messages is full.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_QUEUE&lt;/a&gt;&lt;/span&gt; constant must be defined in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h..&lt;/a&gt;&lt;/span&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
For PIC16 message queues can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;queue&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Queue of messages descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_queue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_QUEUE&lt;/a&gt;&lt;/span&gt; type.		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 there is free room to add new message		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 queue is full		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_QUEUE queue;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; buf&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Queue_IsFull &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;queue&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;                   &lt;span class=&quot;co1&quot;&gt;// If there is place&lt;/span&gt;
            OS_Queue_Send_Now&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;queue, &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OST_MSG&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;&amp;amp;&lt;/span&gt;buf&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// then send message&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsQMsgFull&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_create&quot;&gt;OS_Queue_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send&quot;&gt;OS_Queue_Send&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_to&quot;&gt;OS_Queue_Send_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_now&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_now&quot;&gt;OS_Queue_Send_Now&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_i&quot;&gt;OS_Queue_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_check&quot;&gt;OS_Queue_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isfree&quot; class=&quot;wikilink2&quot; title=&quot;en:osa:ref:allservices:os_queue_isfree&quot; rel=&quot;nofollow&quot;&gt;OS_Queue_IsFree&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait&quot;&gt;OS_Queue_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait_to&quot;&gt;OS_Queue_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send?rev=1259946234">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-04T20:03:54+03:00</dc:date>
        <title>OSA : OS_Queue_Send</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send?rev=1259946234</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_queue_send&quot; id=&quot;osa_os_queue_send&quot;&gt;OSA : OS_Queue_Send&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_queue_send_queue_message&quot; id=&quot;os_queue_send_queue_message&quot;&gt;OS_Queue_Send (queue, message)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_queue_send&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_queue_send&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Send message in queue of messages. If queue is full then wait for free room.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_QUEUE&lt;/a&gt;&lt;/span&gt; constant must be defined in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h..&lt;/a&gt;&lt;/span&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
For PIC16 message queues can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;queue&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Queue of messages descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_queue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_QUEUE&lt;/a&gt;&lt;/span&gt; type.		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
pointer to message body (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG&lt;/a&gt;&lt;/span&gt;)		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_QUEUE queue;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; Data&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Queue_Send &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;queue, Data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SendQMsg&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_create&quot;&gt;OS_Queue_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_to&quot;&gt;OS_Queue_Send_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_now&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_now&quot;&gt;OS_Queue_Send_Now&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_i&quot;&gt;OS_Queue_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_check&quot;&gt;OS_Queue_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isfull&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_isfull&quot;&gt;OS_Queue_IsFull&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait&quot;&gt;OS_Queue_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait_to&quot;&gt;OS_Queue_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_i?rev=1286445442">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:22+03:00</dc:date>
        <title>OSA : OS_Queue_Send_I</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_i?rev=1286445442</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_now?rev=1259946271">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-04T20:04:31+03:00</dc:date>
        <title>OSA : OS_Queue_Send_Now</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_now?rev=1259946271</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_queue_send_now&quot; id=&quot;osa_os_queue_send_now&quot;&gt;OSA : OS_Queue_Send_Now&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_queue_send_now_queue_message&quot; id=&quot;os_queue_send_now_queue_message&quot;&gt;OS_Queue_Send_Now (queue, message)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_queue_send_now&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Send message in queue of messages. If queue is full then most rearly message will be pushed out.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_QUEUE&lt;/a&gt;&lt;/span&gt; constant must be defined in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h..&lt;/a&gt;&lt;/span&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
For PIC16 message queues can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;queue&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Queue of messages descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_queue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_QUEUE&lt;/a&gt;&lt;/span&gt; type.		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
pointer to message body (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG&lt;/a&gt;&lt;/span&gt;)		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;bEventError&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
If … is not free then &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iseventerror&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_iseventerror&quot;&gt;OS_IsEventError&lt;/a&gt;&lt;/span&gt; will return &lt;strong&gt;true&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_QUEUE queue;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; Data&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Queue_Send_Now &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;queue, Data&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SendQMsgNoWait&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_create&quot;&gt;OS_Queue_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send&quot;&gt;OS_Queue_Send&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_to&quot;&gt;OS_Queue_Send_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_i&quot;&gt;OS_Queue_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_check&quot;&gt;OS_Queue_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isfull&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_isfull&quot;&gt;OS_Queue_IsFull&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait&quot;&gt;OS_Queue_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait_to&quot;&gt;OS_Queue_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_to?rev=1259946289">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-04T20:04:49+03:00</dc:date>
        <title>OSA : OS_Queue_Send_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_to?rev=1259946289</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_queue_send_to&quot; id=&quot;osa_os_queue_send_to&quot;&gt;OSA : OS_Queue_Send_TO&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_queue_send_to_queue_message_timeout&quot; id=&quot;os_queue_send_to_queue_message_timeout&quot;&gt;OS_Queue_Send_TO (queue, message, timeout)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_queue_send_to&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_queue_send_to&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_queue_send_to&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Uses timer&quot; alt=&quot;Uses timer&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Same as &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send&quot;&gt;OS_Queue_Send&lt;/a&gt;&lt;/span&gt; with exit if timeout will expired.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_QUEUE&lt;/a&gt;&lt;/span&gt; constant must be defined in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h..&lt;/a&gt;&lt;/span&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
For PIC16 message queues can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;queue&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Queue of messages descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_queue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_QUEUE&lt;/a&gt;&lt;/span&gt; type.		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;message&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
pointer to message body (&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_msg&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_MSG&lt;/a&gt;&lt;/span&gt;)		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;timeout&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Time of waiting in system ticks - calling &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;timeout&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
If timeout expired then system service &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_istimeout&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_istimeout&quot;&gt;OS_IsTimeout&lt;/a&gt;&lt;/span&gt; will return &lt;strong&gt;true&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_QUEUE queue;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; Buf&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Queue_Send_TO &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;queue, buf, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span class=&quot;co1&quot;&gt;// Wait 100 ticks&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_IsTimeout&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
            &lt;span class=&quot;co1&quot;&gt;// Message is not sent!&lt;/span&gt;
            &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_SendQMsgTimeout&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_create&quot;&gt;OS_Queue_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send&quot;&gt;OS_Queue_Send&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_now&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_now&quot;&gt;OS_Queue_Send_Now&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_send_i&quot;&gt;OS_Queue_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_check&quot;&gt;OS_Queue_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_isfull&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_isfull&quot;&gt;OS_Queue_IsFull&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait&quot;&gt;OS_Queue_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_queue_wait_to&quot;&gt;OS_Queue_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait?rev=1286445445">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:25+03:00</dc:date>
        <title>OSA : OS_Queue_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait?rev=1286445445</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait_to?rev=1286445445">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:25+03:00</dc:date>
        <title>OSA : OS_Queue_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_queue_wait_to?rev=1286445445</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ri?rev=1286445446">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:26+03:00</dc:date>
        <title>OSA : OS_RI</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ri?rev=1286445446</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_run?rev=1286445447">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:27+03:00</dc:date>
        <title>OSA : OS_Run</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_run?rev=1286445447</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_sched?rev=1286445448">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:28+03:00</dc:date>
        <title>OSA : OS_Sched</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_sched?rev=1286445448</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_accept?rev=1286445449">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:29+03:00</dc:date>
        <title>OSA : OS_Smsg_Accept</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_accept?rev=1286445449</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_check?rev=1286445449">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:29+03:00</dc:date>
        <title>OSA : OS_Smsg_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_check?rev=1286445449</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_create?rev=1286445450">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:30+03:00</dc:date>
        <title>OSA : OS_Smsg_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_create?rev=1286445450</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send?rev=1286445451">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:31+03:00</dc:date>
        <title>OSA : OS_Smsg_Send</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send?rev=1286445451</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_i?rev=1286445452">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:32+03:00</dc:date>
        <title>OSA : OS_Smsg_Send_I</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_i?rev=1286445452</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_now?rev=1286445453">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:33+03:00</dc:date>
        <title>OSA : OS_Smsg_Send_Now</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_now?rev=1286445453</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_to?rev=1286445454">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:34+03:00</dc:date>
        <title>OSA : OS_Smsg_Send_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_send_to?rev=1286445454</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_wait?rev=1286445455">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:35+03:00</dc:date>
        <title>OSA : OS_Smsg_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_wait?rev=1286445455</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_wait_to?rev=1286445455">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:35+03:00</dc:date>
        <title>OSA : OS_Smsg_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_smsg_wait_to?rev=1286445455</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_check?rev=1286445456">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:36+03:00</dc:date>
        <title>OSA : OS_Squeue_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_check?rev=1286445456</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_create?rev=1286445457">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:37+03:00</dc:date>
        <title>OSA : OS_Squeue_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_create?rev=1286445457</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_isempty?rev=1286445458">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:38+03:00</dc:date>
        <title>OSA : OS_Squeue_IsEmpty</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_isempty?rev=1286445458</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_isfull?rev=1246375036">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-30T19:17:16+03:00</dc:date>
        <title>OSA : OS_Squeue_IsFull</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_isfull?rev=1246375036</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_squeue_isfull&quot; id=&quot;osa_os_squeue_isfull&quot;&gt;OSA : OS_Squeue_IsFull&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_squeue_isfull_squeue&quot; id=&quot;bool_os_squeue_isfull_squeue&quot;&gt;bool OS_Squeue_IsFull (squeue)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Check for queue of sinple messages is full.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_SQUEUE&lt;/a&gt;&lt;/span&gt; constant must be defined in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h..&lt;/a&gt;&lt;/span&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
For PIC16 message queues can be allocated only in &lt;strong&gt;bank0&lt;/strong&gt; or &lt;strong&gt;bank1&lt;/strong&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;squeue&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Queue of simple messages descriptor. Variable of &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_squeue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;OST_SQUEUE&lt;/a&gt;&lt;/span&gt; type.		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 there is free room to add new message		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 queue is full		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;OST_SQUEUE squeue;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Squeue_IsFull &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;squeue&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;         &lt;span class=&quot;co1&quot;&gt;// If there is place&lt;/span&gt;
            OS_Squeue_Send_Now&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;squeue, &lt;span class=&quot;st0&quot;&gt;'A'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// then send message 'A'&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsQSMsgFull&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_create&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_create&quot;&gt;OS_Squeue_Create&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_send&quot;&gt;OS_Squeue_Send&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_send_to&quot;&gt;OS_Squeue_Send_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_now&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_send_now&quot;&gt;OS_Squeue_Send_Now&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_i&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_send_i&quot;&gt;OS_Squeue_Send_I&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_check&quot;&gt;OS_Squeue_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_isempty&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_isempty&quot;&gt;OS_Squeue_IsEmpty&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_wait&quot;&gt;OS_Squeue_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait_to&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_squeue_wait_to&quot;&gt;OS_Squeue_Wait_TO&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send?rev=1286445460">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:40+03:00</dc:date>
        <title>OSA : OS_Squeue_Send</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send?rev=1286445460</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_i?rev=1286445460">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:40+03:00</dc:date>
        <title>OSA : OS_Squeue_Send_I</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_i?rev=1286445460</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_now?rev=1286445461">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:41+03:00</dc:date>
        <title>OSA : OS_Squeue_Send_Now</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_now?rev=1286445461</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_to?rev=1286445462">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:42+03:00</dc:date>
        <title>OSA : OS_Squeue_Send_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_send_to?rev=1286445462</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait?rev=1286445463">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:43+03:00</dc:date>
        <title>OSA : OS_Squeue_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait?rev=1286445463</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait_to?rev=1286445464">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:44+03:00</dc:date>
        <title>OSA : OS_Squeue_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_squeue_wait_to?rev=1286445464</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc?rev=1265324308">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-05T01:58:28+03:00</dc:date>
        <title>OSA : OS_Stimer_Alloc</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc?rev=1265324308</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_alloc&quot; id=&quot;osa_os_stimer_alloc&quot;&gt;OSA : OS_Stimer_Alloc&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;span style='color:blue; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Stimer_Alloc (var_stimer_id)&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 

&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_alloc&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_alloc&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Allocate static timer for work. There should be at list one free static timer (check it with &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt; service)
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;p&gt;
Constant &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_STIMERS_ALLOCATION&lt;/a&gt;&lt;/span&gt; should be defined in OSAcfg.h
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;var_stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Variable of type &lt;code&gt;unsigned char&lt;/code&gt; to store ID of allocated timer. When 0xFF - timer is not allocated		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsError()&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
return &lt;code&gt;true&lt;/code&gt; when no free timer to allocate		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;unsigned&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; stimer_id;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Wait&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Stimer_Found&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Wait for free timer&lt;/span&gt;
        OS_Stimer_Alloc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Allocate it for work&lt;/span&gt;
        OS_Stimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span class=&quot;co1&quot;&gt;// Now we work with static timer through variable&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
           &lt;span class=&quot;co1&quot;&gt;// ...&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Stimer_Check&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
        OS_Stimer_Free&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Make timer free&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;OSA : OS_Stimer_Alloc&quot; [2-] --&gt;</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break?rev=1286445465">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:45+03:00</dc:date>
        <title>OSA : OS_Stimer_Break</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break?rev=1286445465</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check?rev=1265300954">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:29:14+03:00</dc:date>
        <title>OSA : OS_Stimer_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check?rev=1265300954</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_check&quot; id=&quot;osa_os_stimer_check&quot;&gt;OSA : OS_Stimer_Check&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_stimer_check_stimer_id&quot; id=&quot;bool_os_stimer_check_stimer_id&quot;&gt;bool OS_Stimer_Check (stimer_id)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

Check for static timer overflowed.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 static timer is counting		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 static timer overflowed or was stopped/paused		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Stimer_Check&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;    &lt;span class=&quot;co1&quot;&gt;// If timer 2 overflowed&lt;/span&gt;
            OS_Stimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;   &lt;span class=&quot;co1&quot;&gt;// then re-run static timer&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_CheckSTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue?rev=1265300992">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:29:52+03:00</dc:date>
        <title>OSA : OS_Stimer_Continue</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue?rev=1265300992</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_continue&quot; id=&quot;osa_os_stimer_continue&quot;&gt;OSA : OS_Stimer_Continue&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_stimer_continue_stimer_id&quot; id=&quot;os_stimer_continue_stimer_id&quot;&gt;OS_Stimer_Continue (stimer_id)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Continue static timer&amp;#039;s counting after pause.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Stimer_Pause&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Stimer_Continue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_ContinueSTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay?rev=1265300927">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:28:47+03:00</dc:date>
        <title>OSA : OS_Stimer_Delay</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay?rev=1265300927</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_delay&quot; id=&quot;osa_os_stimer_delay&quot;&gt;OSA : OS_Stimer_Delay&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_stimer_delay_stimer_id_delay&quot; id=&quot;os_stimer_delay_stimer_id_delay&quot;&gt;OS_Stimer_Delay (stimer_id, delay)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_delay&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_delay&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Delay current task using static timer.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;delay&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Time of delay. Set in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Stimer_Delay &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Delay current task for 20 system ticks.&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_DelaySTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found?rev=1265324284">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-05T01:58:04+03:00</dc:date>
        <title>OSA : OS_Stimer_Found</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found?rev=1265324284</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_found&quot; id=&quot;osa_os_stimer_found&quot;&gt;OSA : OS_Stimer_Found&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;span style='color:blue; '&gt;&lt;strong&gt;bool &lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Stimer_Found ()&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 

&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_found&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_found&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Check for there is at list on unused static timer.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;p&gt;
Constant &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_STIMERS_ALLOCATION&lt;/a&gt;&lt;/span&gt; should be defined in OSAcfg.h
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 there is no any free timer		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 there is at list one free static timer		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;unsigned&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; stimer_id;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Wait&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Stimer_Found&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Wait for free timer&lt;/span&gt;
        OS_Stimer_Alloc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Allocate it for work&lt;/span&gt;
        OS_Stimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span class=&quot;co1&quot;&gt;// Now we work with static timer through variable&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
           &lt;span class=&quot;co1&quot;&gt;// ...&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Stimer_Check&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
        OS_Stimer_Free&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Make timer free&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;OSA : OS_Stimer_Found&quot; [2-] --&gt;</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free?rev=1265324293">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-05T01:58:13+03:00</dc:date>
        <title>OSA : OS_Stimer_Free</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free?rev=1265324293</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_free&quot; id=&quot;osa_os_stimer_free&quot;&gt;OSA : OS_Stimer_Free&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;span style='color:blue; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Stimer_Free (stimer_id)&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 

&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_free&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_free&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Free static timer by it&amp;#039;s ID.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;p&gt;
Constant &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_STIMERS_ALLOCATION&lt;/a&gt;&lt;/span&gt; should be defined in OSAcfg.h
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw4&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;unsigned&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;char&lt;/span&gt; stimer_id;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Wait&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Stimer_Found&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Wait for free timer&lt;/span&gt;
        OS_Stimer_Alloc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Allocate it for work&lt;/span&gt;
        OS_Stimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span class=&quot;co1&quot;&gt;// Now we work with static timer through variable&lt;/span&gt;
&amp;nbsp;
        &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
           &lt;span class=&quot;co1&quot;&gt;// ...&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Stimer_Check&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
        OS_Stimer_Free&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;stimer_id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Make timer free&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;!-- SECTION &quot;OSA : OS_Stimer_Free&quot; [2-] --&gt;</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get?rev=1265300944">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:29:04+03:00</dc:date>
        <title>OSA : OS_Stimer_Get</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get?rev=1265300944</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_get&quot; id=&quot;osa_os_stimer_get&quot;&gt;OSA : OS_Stimer_Get&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;ost_stimer_os_stimer_get_stimer_id&quot; id=&quot;ost_stimer_os_stimer_get_stimer_id&quot;&gt;_OST_STIMER OS_Stimer_Get (stimer_id)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Get dinamic timer&amp;#039;s remaining time. Before call this service you should to do one of these things:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; to disable interrupts&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; to enter critical section&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;

Elsewere timer&amp;#039;s value can be changed in interrupt while reading.
&lt;/p&gt;

&lt;p&gt;
Number of static timers &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_stimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;_OST_STIMER&lt;/a&gt;&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 integer value of remaining time (in system ticks)		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_DI&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Stimer_Get &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;   &lt;span class=&quot;co1&quot;&gt;// Flash red led if remains&lt;/span&gt;
            RED_LED &lt;span class=&quot;sy1&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;;             &lt;span class=&quot;co1&quot;&gt;// less than 10 ticks&lt;/span&gt;
        OS_EI&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_GetSTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun?rev=1265300966">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:29:26+03:00</dc:date>
        <title>OSA : OS_Stimer_IsRun</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun?rev=1265300966</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_isrun&quot; id=&quot;osa_os_stimer_isrun&quot;&gt;OSA : OS_Stimer_IsRun&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_stimer_isrun_stimer_id&quot; id=&quot;bool_os_stimer_isrun_stimer_id&quot;&gt;bool OS_Stimer_IsRun (stimer_id)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Check for static timer is run.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timer is stopped or paused		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timer is run		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Stimer_IsRun&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;     &lt;span class=&quot;co1&quot;&gt;// if timer 2 is not run&lt;/span&gt;
            OS_Stimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;   &lt;span class=&quot;co1&quot;&gt;// then run it&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_IsSTimerRun&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause?rev=1265300978">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:29:38+03:00</dc:date>
        <title>OSA : OS_Stimer_Pause</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause?rev=1265300978</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_pause&quot; id=&quot;osa_os_stimer_pause&quot;&gt;OSA : OS_Stimer_Pause&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_stimer_pause_stimer_id&quot; id=&quot;os_stimer_pause_stimer_id&quot;&gt;OS_Stimer_Pause (stimer_id)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Stop static timer. Timeout flag will be set.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Stimer_Pause &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_PauseSTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run?rev=1266852491">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-22T18:28:11+03:00</dc:date>
        <title>OSA : OS_Stimer_Run</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run?rev=1266852491</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_run&quot; id=&quot;osa_os_stimer_run&quot;&gt;OSA : OS_Stimer_Run&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;span style='color:blue; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Stimer_Run (stimer_id, time)&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;
 

&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Start counting static timer for time &lt;em&gt;time&lt;/em&gt;. Timeut flag is cleared.
&lt;/p&gt;

&lt;p&gt;
Number of static timers &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;time&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Value to set timer&amp;#039;s counter. Sets in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods. Size of &lt;em&gt;time&lt;/em&gt; value must be less than size of timer		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Stimer_Run &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span class=&quot;co1&quot;&gt;// Run static timer #1 for 20 ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_RunSTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_stop?rev=1265300866">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:27:46+03:00</dc:date>
        <title>OSA : OS_Stimer_Stop</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_stop?rev=1265300866</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_break&quot; id=&quot;osa_os_stimer_break&quot;&gt;OSA : OS_Stimer_Break&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_stimer_break_stimer_id&quot; id=&quot;os_stimer_break_stimer_id&quot;&gt;OS_Stimer_Break (stimer_id)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Stop and reset static timer. Timeout flag will be set.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Stimer_Stop&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Stop static timer #5&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_StopSTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait?rev=1265300917">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:28:37+03:00</dc:date>
        <title>OSA : OS_Stimer_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait?rev=1265300917</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_stimer_wait&quot; id=&quot;osa_os_stimer_wait&quot;&gt;OSA : OS_Stimer_Wait&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_stimer_wait_stimer_id&quot; id=&quot;os_stimer_wait_stimer_id&quot;&gt;OS_Stimer_Wait (stimer_id)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_wait&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_stimer_wait&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Wait for static timer will be overflowed.
&lt;/p&gt;

&lt;p&gt;
&lt;span class=&quot;important&quot;&gt;Number of static timers &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; (1..32) must be specified in OSAcfh.h. Size of static timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;stimer_id&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
&lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/timers#static_timers&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:timers&quot;&gt;Static timer&lt;/a&gt;&lt;/span&gt; identifier. Number and size of static timers are set in &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OSAcfg.h&lt;/a&gt;&lt;/span&gt; with &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_consist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMERS&lt;/a&gt;&lt;/span&gt; and &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_STIMER_SIZE&lt;/a&gt;&lt;/span&gt; constants		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Stimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        OS_Stimer_Wait&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;  &lt;span class=&quot;co1&quot;&gt;// Wait 200 ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_WaitSTimer&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_alloc&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_alloc&quot;&gt;OS_Stimer_Alloc&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_free&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_free&quot;&gt;OS_Stimer_Free&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_found&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_found&quot;&gt;OS_Stimer_Found&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_run&quot;&gt;OS_Stimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_break&quot;&gt;OS_Stimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_wait&quot;&gt;OS_Stimer_Wait&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_delay&quot;&gt;OS_Stimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_get&quot;&gt;OS_Stimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_check&quot;&gt;OS_Stimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_isrun&quot;&gt;OS_Stimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_pause&quot;&gt;OS_Stimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_stimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_stimer_continue&quot;&gt;OS_Stimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_continue?rev=1286445476">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:56+03:00</dc:date>
        <title>OSA : OS_Task_Continue</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_continue?rev=1286445476</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_create?rev=1248261120">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-22T15:12:00+03:00</dc:date>
        <title>OSA : OS_Task_Create</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_create?rev=1248261120</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_task_create&quot; id=&quot;osa_os_task_create&quot;&gt;OSA : OS_Task_Create&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_task_create_priority_taskname&quot; id=&quot;os_task_create_priority_taskname&quot;&gt;OS_Task_Create (priority, TaskName)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_not_int.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_task_create&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_not_int.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_not_int.png&quot; class=&quot;media&quot; title=&quot;Not allowed in interrupt&quot; alt=&quot;Not allowed in interrupt&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Create task. After creation task will be added in list of active tasks
&lt;/p&gt;

&lt;p&gt;
&lt;p&gt;&lt;div class=&quot;noteclassic&quot;&gt;
&lt;strong&gt;For CCS users&lt;/strong&gt;: Compiler should be informed that &lt;em&gt;TaskName&lt;/em&gt; will be called indirrectly by service &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_define&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_define&quot;&gt;OS_Task_Define&lt;/a&gt; in main()
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;For mikroC users&lt;/strong&gt;: All functions-tasks should be defined with #pragma fncall directive, e.g.:&lt;br/&gt;
 &lt;br/&gt;
 
&lt;span class=&quot;important&quot;&gt;#pragma fncall main MyTask&lt;/span&gt;&lt;br/&gt;
 
&lt;span class=&quot;important&quot;&gt;void MyTask (void)&lt;/span&gt;&lt;br/&gt;
 
&lt;span class=&quot;important&quot;&gt;{&lt;/span&gt;&lt;br/&gt;
 
    …

&lt;/div&gt;&lt;/p&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Not in interrupt
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;priority&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Task priority. Allowed values from 0 (highest) to 7 (lowest).		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;TaskName&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Name of C-function to be used as task		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;bError&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
If there is no free descripto to create taskthen &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_iseventerror&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_iseventerror&quot;&gt;OS_IsError&lt;/a&gt;&lt;/span&gt; will return &lt;strong&gt;true&lt;/strong&gt;		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code cpp&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task1 &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; OS_Yield&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task2 &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; OS_Yield&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; main &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    OS_Init&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    OS_Task_Create&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;, Task1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Create task Task1 with priority 1&lt;/span&gt;
    OS_Task_Create&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;, Task2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Create task Task1 with priority 5&lt;/span&gt;
    &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;old_style_name&quot; id=&quot;old_style_name&quot;&gt;Old style name&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;span style='color:gray; '&gt;&lt;strong&gt;&lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_CreateTask&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_define&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_define&quot;&gt;OS_Task_Define&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_replace&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_replace&quot;&gt;OS_Task_Replace&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_delete&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_delete&quot;&gt;OS_Task_Delete&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_pause&quot;&gt;OS_Task_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_continue&quot;&gt;OS_Task_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_ispaused&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_ispaused&quot;&gt;OS_Task_IsPaused&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getpriority&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_getpriority&quot;&gt;OS_Task_GetPriority&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_setpriority&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_task_setpriority&quot;&gt;OS_Task_SetPriority&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_define?rev=1286445478">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:58+03:00</dc:date>
        <title>OSA : OS_Task_Define</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_define?rev=1286445478</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_delete?rev=1286445479">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:59+03:00</dc:date>
        <title>OSA : OS_Task_Delete</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_delete?rev=1286445479</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getcreated?rev=1286445479">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:57:59+03:00</dc:date>
        <title>OSA : OS_Task_GetCreated</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getcreated?rev=1286445479</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getcur?rev=1286445480">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:00+03:00</dc:date>
        <title>OSA : OS_Task_GetCur</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getcur?rev=1286445480</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getpriority?rev=1286445481">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:01+03:00</dc:date>
        <title>OSA : OS_Task_GetPriority</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_getpriority?rev=1286445481</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_isenable?rev=1286445482">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:02+03:00</dc:date>
        <title>OSA : OS_Task_IsEnable</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_isenable?rev=1286445482</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_ispaused?rev=1286445483">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:03+03:00</dc:date>
        <title>OSA : OS_Task_IsPaused</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_ispaused?rev=1286445483</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_pause?rev=1286445484">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:04+03:00</dc:date>
        <title>OSA : OS_Task_Pause</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_pause?rev=1286445484</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_replace?rev=1286445485">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:05+03:00</dc:date>
        <title>OSA : OS_Task_Replace</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_replace?rev=1286445485</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_setpriority?rev=1286445485">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:05+03:00</dc:date>
        <title>OSA : OS_Task_SetPriority</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_setpriority?rev=1286445485</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_stop?rev=1286445486">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:06+03:00</dc:date>
        <title>OSA : OS_Task_Stop</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_task_stop?rev=1286445486</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer?rev=1286445487">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:07+03:00</dc:date>
        <title>OSA : OS_Timer</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer?rev=1286445487</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break?rev=1265302084">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:48:04+03:00</dc:date>
        <title>OSA : OS_Ttimer_Break</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break?rev=1265302084</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_break&quot; id=&quot;osa_os_ttimer_break&quot;&gt;OSA : OS_Ttimer_Break&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_ttimer_break&quot; id=&quot;os_ttimer_break&quot;&gt;OS_Ttimer_Break ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_break&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_break&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Stop current task&amp;#039;s timer. Timeout flag will be set.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Everywere
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Ttimer_Break&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Stop current task's timer&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check?rev=1265302056">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:47:36+03:00</dc:date>
        <title>OSA : OS_Ttimer_Check</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check?rev=1265302056</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_check&quot; id=&quot;osa_os_ttimer_check&quot;&gt;OSA : OS_Ttimer_Check&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_ttimer_check&quot; id=&quot;bool_os_ttimer_check&quot;&gt;bool OS_Ttimer_Check ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_check&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_check&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Check for current task&amp;#039;s timer overflowed.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 current task&amp;#039;s timer is counting		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 current task&amp;#039;s timer overflowed or was stopped/paused		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Ttimer_Check&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;    &lt;span class=&quot;co1&quot;&gt;// If timer overflowed (or not counting)&lt;/span&gt;
            OS_Ttimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;     &lt;span class=&quot;co1&quot;&gt;// then re-run current task's timer&lt;/span&gt;
        &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue?rev=1265302157">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:49:17+03:00</dc:date>
        <title>OSA : OS_Ttimer_Continue</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue?rev=1265302157</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_continue&quot; id=&quot;osa_os_ttimer_continue&quot;&gt;OSA : OS_Ttimer_Continue&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_ttimer_continue&quot; id=&quot;os_ttimer_continue&quot;&gt;OS_Ttimer_Continue ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_continue&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_continue&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Continue current task&amp;#039;s timer&amp;#039;s counting after pause.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Ttimer_Pause&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Ttimer_Continue&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay?rev=1265302105">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:48:25+03:00</dc:date>
        <title>OSA : OS_Ttimer_Delay</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay?rev=1265302105</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_delay&quot; id=&quot;osa_os_ttimer_delay&quot;&gt;OSA : OS_Ttimer_Delay&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_ttimer_delay_delay&quot; id=&quot;os_ttimer_delay_delay&quot;&gt;OS_Ttimer_Delay (delay)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_delay&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_delay&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_delay&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Delay current task using current task&amp;#039;s timer. (Same as &lt;acronym title=&quot;Operating System&quot;&gt;OS&lt;/acronym&gt;_Delay())
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;delay&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Time of delay. Set in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Ttimer_Delay &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;    &lt;span class=&quot;co1&quot;&gt;// Delay current task for 20 system ticks.&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get?rev=1265302129">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:48:49+03:00</dc:date>
        <title>OSA : OS_Ttimer_Get</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get?rev=1265302129</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_get&quot; id=&quot;osa_os_ttimer_get&quot;&gt;OSA : OS_Ttimer_Get&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;ost_ttimer_os_ttimer_get&quot; id=&quot;ost_ttimer_os_ttimer_get&quot;&gt;_OST_TTIMER OS_Ttimer_Get ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_get&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_get&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Get dinamic timer&amp;#039;s remaining time. Before call this service you should to do one of these things:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; to disable interrupts&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; to enter critical section&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;

Elsewere timer&amp;#039;s value can be changed in interrupt while reading.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/description/data_types#ost_ttimer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:description:data_types&quot;&gt;_OST_TTIMER&lt;/a&gt;&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 integer value of remaining time (in system ticks)		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_DI&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;OS_Ttimer_Get &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy1&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;   &lt;span class=&quot;co1&quot;&gt;// Flash red led if remains&lt;/span&gt;
            RED_LED &lt;span class=&quot;sy1&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;;             &lt;span class=&quot;co1&quot;&gt;// less than 10 ticks&lt;/span&gt;
        OS_EI&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun?rev=1265302142">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:49:02+03:00</dc:date>
        <title>OSA : OS_Ttimer_IsRun</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun?rev=1265302142</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_isrun&quot; id=&quot;osa_os_ttimer_isrun&quot;&gt;OSA : OS_Ttimer_IsRun&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;bool_os_ttimer_isrun&quot; id=&quot;bool_os_ttimer_isrun&quot;&gt;bool OS_Ttimer_IsRun ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_isrun&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_isrun&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Check for current task&amp;#039;s timer is run.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;false&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timer is stopped or paused		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;true&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
 timer is run		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy3&quot;&gt;!&lt;/span&gt;OS_Ttimer_IsRun&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;     &lt;span class=&quot;co1&quot;&gt;// if timer is not run&lt;/span&gt;
            OS_Ttimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;     &lt;span class=&quot;co1&quot;&gt;// then run it&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause?rev=1265302150">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:49:10+03:00</dc:date>
        <title>OSA : OS_Ttimer_Pause</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause?rev=1265302150</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_pause&quot; id=&quot;osa_os_ttimer_pause&quot;&gt;OSA : OS_Ttimer_Pause&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_ttimer_pause&quot; id=&quot;os_ttimer_pause&quot;&gt;OS_Ttimer_Pause ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_pause&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_pause&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Stop current task&amp;#039;s timer. Timeout flag will be set.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Ttimer_Pause &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run?rev=1265302073">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:47:53+03:00</dc:date>
        <title>OSA : OS_Ttimer_Run</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run?rev=1265302073</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_run&quot; id=&quot;osa_os_ttimer_run&quot;&gt;OSA : OS_Ttimer_Run&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_ttimer_run_time&quot; id=&quot;os_ttimer_run_time&quot;&gt;OS_Ttimer_Run (time)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_run&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_run&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Start counting current task&amp;#039;s timer for time &lt;em&gt;time&lt;/em&gt;. Timeut flag is cleared.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;table class = &quot;fpl&quot;&gt;
	&lt;tr&gt;
		&lt;td&gt;
&lt;em&gt;&lt;code&gt;time&lt;/code&gt;&lt;/em&gt;		&lt;/td&gt;
		&lt;td&gt;
Value to set timer&amp;#039;s counter. Sets in system ticks - call &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_timer&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_timer&quot;&gt;OS_Timer&lt;/a&gt;&lt;/span&gt; periods. Size of &lt;em&gt;time&lt;/em&gt; value must be less than size of timer		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Ttimer_Run &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span class=&quot;co1&quot;&gt;// Run current task's timer for 20 ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait?rev=1265302094">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-04T19:48:14+03:00</dc:date>
        <title>OSA : OS_Ttimer_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait?rev=1265302094</link>
        <description>


&lt;h1&gt;&lt;a name=&quot;osa_os_ttimer_wait&quot; id=&quot;osa_os_ttimer_wait&quot;&gt;OSA : OS_Ttimer_Wait&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;os_ttimer_wait&quot; id=&quot;os_ttimer_wait&quot;&gt;OS_Ttimer_Wait ()&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;

&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_to.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_wait&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_to.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_to.png&quot; class=&quot;media&quot; title=&quot;Service uses system timer&quot; alt=&quot;Service uses system timer&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_task.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_wait&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_task.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_task.png&quot; class=&quot;media&quot; title=&quot;Allowed only in task&quot; alt=&quot;Allowed only in task&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.pic24.ru/lib/exe/detail.php/osa/ref/attr_call_ct_sw.png?id=en%3Aosa%3Aref%3Aallservices%3Aos_ttimer_wait&quot; class=&quot;media&quot; title=&quot;osa:ref:attr_call_ct_sw.png&quot;&gt;&lt;img src=&quot;http://www.pic24.ru/lib/exe/fetch.php/osa/ref/attr_call_ct_sw.png&quot; class=&quot;media&quot; title=&quot;Switches contexts&quot; alt=&quot;Switches contexts&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Wait for current task&amp;#039;s timer will be overflowed.
&lt;/p&gt;

&lt;p&gt;
To use task timers you need to define  &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#system_constants&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_ENABLE_TTIMERS&lt;/a&gt;&lt;/span&gt; in osacfg.h. Size of current task&amp;#039;s timers set by &lt;span class=&quot;important&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/appendix/configuration#data_types&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:appendix:configuration&quot;&gt;OS_TTIMER_SIZE&lt;/a&gt;&lt;/span&gt; constant
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;call_allowed&quot; id=&quot;call_allowed&quot;&gt;Call allowed:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
Only in task
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;parametrs&quot; id=&quot;parametrs&quot;&gt;Parametrs:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
no
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;returns&quot; id=&quot;returns&quot;&gt;Returns:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
nothing
&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;example&quot; id=&quot;example&quot;&gt;Example:&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;cpp code cpp&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; Task &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;;;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
        OS_Ttimer_Run&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
        OS_Ttimer_Wait&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;  &lt;span class=&quot;co1&quot;&gt;// Wait 200 ticks&lt;/span&gt;
        &lt;span class=&quot;coMULTI&quot;&gt;/*...*/&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;see_also&quot; id=&quot;see_also&quot;&gt;See also&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_run&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_run&quot;&gt;OS_Ttimer_Run&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_break&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_break&quot;&gt;OS_Ttimer_Break&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_wait&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_wait&quot;&gt;OS_Ttimer_Wait&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_delay&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_delay&quot;&gt;OS_Ttimer_Delay&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_get&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_get&quot;&gt;OS_Ttimer_Get&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_check&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_check&quot;&gt;OS_Ttimer_Check&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_isrun&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_isrun&quot;&gt;OS_Ttimer_IsRun&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_pause&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_pause&quot;&gt;OS_Ttimer_Pause&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_ttimer_continue&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:allservices:os_ttimer_continue&quot;&gt;OS_Ttimer_Continue&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/alphabetical&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:alphabetical&quot;&gt;Alphabetical&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.pic24.ru/doku.php/en/osa/ref/services/brieflist&quot; class=&quot;wikilink1&quot; title=&quot;en:osa:ref:services:brieflist&quot;&gt;All services&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;plugin_uparrow&quot;&gt;
  &lt;a href=&quot;#&quot; title=&quot;Наверх&quot;&gt;
    &lt;img src=&quot;http://www.pic24.ru/lib/plugins/uparrow/images/blue_arrow.png&quot; alt=&quot;Наверх&quot;/&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
</description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait?rev=1286445496">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:16+03:00</dc:date>
        <title>OSA : OS_Wait</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait?rev=1286445496</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait_to?rev=1286445497">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:17+03:00</dc:date>
        <title>OSA : OS_Wait_TO</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_wait_to?rev=1286445497</link>
        <description></description>
    </item>
    <item rdf:about="http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_yield?rev=1286445497">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-07T13:58:17+03:00</dc:date>
        <title>OSA : OS_Yield</title>
        <link>http://www.pic24.ru/doku.php/en/osa/ref/allservices/os_yield?rev=1286445497</link>
        <description></description>
    </item>
</rdf:RDF>
