亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tod.h

?? RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
?? H
字號:
/*  tod.h * *  This include file contains all the constants and structures associated *  with the Time of Day Handler. * *  COPYRIGHT (c) 1989-1999. *  On-Line Applications Research Corporation (OAR). * *  The license and distribution terms for this file may be *  found in the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  $Id: tod.h,v 1.18.2.1 2003/09/04 18:55:05 joel Exp $ */#ifndef __TIME_OF_DAY_h#define __TIME_OF_DAY_h#ifdef __cplusplusextern "C" {#endif#include <rtems/score/object.h>#include <rtems/score/watchdog.h>/* *  The following constants are related to the time of day. */#define TOD_SECONDS_PER_MINUTE (unsigned32)60#define TOD_MINUTES_PER_HOUR   (unsigned32)60#define TOD_MONTHS_PER_YEAR    (unsigned32)12#define TOD_DAYS_PER_YEAR      (unsigned32)365#define TOD_HOURS_PER_DAY      (unsigned32)24#define TOD_SECONDS_PER_DAY    (unsigned32) (TOD_SECONDS_PER_MINUTE * \                                TOD_MINUTES_PER_HOUR   * \                                TOD_HOURS_PER_DAY)#define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY)#define TOD_MILLISECONDS_PER_SECOND     (unsigned32)1000#define TOD_MICROSECONDS_PER_SECOND     (unsigned32)1000000#define TOD_NANOSECONDS_PER_SECOND      (unsigned32)1000000000#define TOD_NANOSECONDS_PER_MICROSECOND (unsigned32)1000/* *  The following constant define the earliest year to which an *  time of day can be initialized.  This is considered the *  epoch. */#define TOD_BASE_YEAR 1988/* *  The following record defines the time of control block.  This *  control block is used to maintain the current time of day. */typedef struct {                   /* RTEID style time/date */  unsigned32 year;                 /* year, A.D. */  unsigned32 month;                /* month, 1 -> 12 */  unsigned32 day;                  /* day, 1 -> 31 */  unsigned32 hour;                 /* hour, 0 -> 23 */  unsigned32 minute;               /* minute, 0 -> 59 */  unsigned32 second;               /* second, 0 -> 59 */  unsigned32 ticks;                /* elapsed ticks between secs */}   TOD_Control;/* *  The following is TRUE if the application has set the current *  time of day, and FALSE otherwise. */SCORE_EXTERN boolean _TOD_Is_set;/* *  The following contains the current time of day. */SCORE_EXTERN TOD_Control _TOD_Current;/* *  The following contains the number of seconds from 00:00:00 *  January 1, TOD_BASE_YEAR until the current time of day. */SCORE_EXTERN Watchdog_Interval _TOD_Seconds_since_epoch;/* *  The following contains the number of microseconds per tick. */SCORE_EXTERN unsigned32 _TOD_Microseconds_per_tick;/* *  The following contains the number of clock ticks per second. * *  NOTE: * *  If one second is NOT evenly divisible by the number of microseconds *  per clock tick, this value will contain only the integer portion *  of the division.  This means that the interval between clock ticks *  can be a source of error in the current time of day. */SCORE_EXTERN unsigned32 _TOD_Ticks_per_second;/* *  This is the control structure for the watchdog timer which *  fires to service the seconds chain. */SCORE_EXTERN Watchdog_Control _TOD_Seconds_watchdog;#ifdef SCORE_INIT/* *  The following array contains the number of days in all months. *  The first dimension should be 1 for leap years, and 0 otherwise. *  The second dimension should range from 1 to 12 for January to *  February, respectively. */const unsigned32 _TOD_Days_per_month[ 2 ][ 13 ] = {  { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },  { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }};/* *  The following array contains the number of days in all months *  up to the month indicated by the index of the second dimension. *  The first dimension should be 1 for leap years, and 0 otherwise. */const unsigned16 _TOD_Days_to_date[2][13] = {  { 0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 },  { 0, 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 }};/* *  The following array contains the number of days in the years *  since the last leap year.  The index should be 0 for leap *  years, and the number of years since the beginning of a leap *  year otherwise. */const unsigned16 _TOD_Days_since_last_leap_year[4] = { 0, 366, 731, 1096 };#elseextern const unsigned16 _TOD_Days_to_date[2][13]; /* Julian days */extern const unsigned16 _TOD_Days_since_last_leap_year[4];extern const unsigned32 _TOD_Days_per_month[2][13];#endif/* *  _TOD_Handler_initialization * *  DESCRIPTION: * *  This routine performs the initialization necessary for this handler. */void _TOD_Handler_initialization(  unsigned32 microseconds_per_tick);/* *  _TOD_Set * *  DESCRIPTION: * *  This routine sets the current time of day to THE_TOD and *  the equivalent SECONDS_SINCE_EPOCH. */void _TOD_Set(  TOD_Control       *the_tod,  Watchdog_Interval  seconds_since_epoch);/* *  _TOD_Validate * *  DESCRIPTION: * *  This function returns TRUE if THE_TOD contains *  a valid time of day, and FALSE otherwise. */boolean _TOD_Validate(  TOD_Control *the_tod);/* *  _TOD_To_seconds * *  DESCRIPTION: * *  This function returns the number seconds between the epoch and THE_TOD. */Watchdog_Interval _TOD_To_seconds(  TOD_Control *the_tod);/* *  _TOD_Tickle * *  DESCRIPTION: * *  This routine is scheduled as a watchdog function and is invoked at *  each second boundary.  It updates the current time of day to indicate *  that a second has passed and processes the seconds watchdog chain. */void _TOD_Tickle(  Objects_Id  id,  void       *ignored);/* *  TOD_MILLISECONDS_TO_MICROSECONDS * *  DESCRIPTION: * *  This routine converts an interval expressed in milliseconds to microseconds. * *  NOTE: * *  This must be a macro so it can be used in "static" tables. */#define TOD_MILLISECONDS_TO_MICROSECONDS(_ms) ((_ms) * 1000)/* *  TOD_MICROSECONDS_TO_TICKS * *  DESCRIPTION: * *  This routine converts an interval expressed in microseconds to ticks. * *  NOTE: * *  This must be a macro so it can be used in "static" tables. */#define TOD_MICROSECONDS_TO_TICKS(_us) \    ((_us) / _TOD_Microseconds_per_tick)/* *  TOD_MILLISECONDS_TO_TICKS * *  DESCRIPTION: * *  This routine converts an interval expressed in milliseconds to ticks. * *  NOTE: * *  This must be a macro so it can be used in "static" tables. */#define TOD_MILLISECONDS_TO_TICKS(_ms) \    (TOD_MILLISECONDS_TO_MICROSECONDS(_ms) / _TOD_Microseconds_per_tick)#ifndef __RTEMS_APPLICATION__#include <rtems/score/tod.inl>#endif#ifdef __cplusplus}#endif#endif/* end of include file */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美丝袜丝交足nylons图片| 国产欧美久久久精品影院| 欧美一区中文字幕| 久久精品欧美一区二区三区麻豆| 亚洲综合久久av| 国产91精品免费| 日韩视频123| 亚洲国产成人av好男人在线观看| 国产黄人亚洲片| 精品毛片乱码1区2区3区| 亚洲精品成a人| 波多野结衣中文字幕一区| 欧美不卡一二三| 免费一级片91| 宅男在线国产精品| 午夜日韩在线观看| 在线观看精品一区| 亚洲免费av网站| a亚洲天堂av| 国产精品视频一二三区| 精品无码三级在线观看视频| 欧美嫩在线观看| 悠悠色在线精品| 在线观看中文字幕不卡| 国产精品国产精品国产专区不蜜| 国产不卡视频一区| 久久精品日韩一区二区三区| 蜜臀久久久久久久| 日韩亚洲欧美高清| 久久精品免费观看| 久久色.com| 成人综合婷婷国产精品久久| 久久久99精品久久| www.综合网.com| 亚洲精品乱码久久久久| 成人国产精品免费网站| 秋霞av亚洲一区二区三| 欧美日韩精品欧美日韩精品一综合| 亚洲免费观看在线观看| 91啪亚洲精品| 香港成人在线视频| 欧美成人vr18sexvr| 国产一区二区h| 国产精品狼人久久影院观看方式| 99视频精品在线| 亚洲一二三区在线观看| 欧美精品日韩一区| 人妖欧美一区二区| 国产亚洲一区二区三区四区| 丁香婷婷综合色啪| 一级中文字幕一区二区| 欧美日韩激情在线| 国产一区二区在线免费观看| 欧美韩国日本综合| 欧美在线观看一区二区| 另类综合日韩欧美亚洲| 日本一二三不卡| 欧美午夜电影网| 国产乱子轮精品视频| 亚洲日本欧美天堂| 日韩精品一区二区在线观看| 高清免费成人av| 天堂久久一区二区三区| 久久久精品一品道一区| 91老师国产黑色丝袜在线| 日本欧美韩国一区三区| 国产精品久久久久久久久晋中 | 亚洲乱码国产乱码精品精可以看| 色婷婷精品久久二区二区蜜臂av| 视频一区二区三区在线| 国产欧美一区二区精品性色超碰| 欧洲av在线精品| 国产真实乱子伦精品视频| 亚洲丝袜制服诱惑| 日韩美女在线视频| 欧美在线色视频| 国产a视频精品免费观看| 午夜精品久久久| 国产精品狼人久久影院观看方式| 8x8x8国产精品| www.成人在线| 国产自产视频一区二区三区| 亚洲国产综合人成综合网站| 久久欧美中文字幕| 日韩一区二区高清| 欧美日韩国产综合视频在线观看| 国产成a人亚洲| 精品在线观看视频| 亚洲综合图片区| 国产欧美一区二区精品性色超碰| 日韩一级黄色片| 欧美日韩国产在线观看| 97精品超碰一区二区三区| 久久超级碰视频| 男人的j进女人的j一区| 亚洲国产综合色| 亚洲一区二区视频在线观看| 国产免费成人在线视频| 欧美成人aa大片| 欧美大黄免费观看| 在线不卡免费欧美| 欧美美女网站色| 欧美日高清视频| 欧美日韩一区二区三区高清| 色屁屁一区二区| 91丝袜美女网| 一本色道**综合亚洲精品蜜桃冫| 99久久亚洲一区二区三区青草| 国产伦理精品不卡| 国内精品国产三级国产a久久| 日本sm残虐另类| 日本人妖一区二区| 蜜臀精品一区二区三区在线观看 | 日本亚洲免费观看| 午夜精品一区二区三区电影天堂 | 91麻豆免费看| 色综合久久88色综合天天6| 色综合一区二区| 精品视频资源站| 欧美一区二区三区在| 日韩欧美亚洲另类制服综合在线| 欧美tickling网站挠脚心| 久久综合久色欧美综合狠狠| 欧美成人一区二区三区片免费| 精品99999| 国产精品美女www爽爽爽| 亚洲色大成网站www久久九九| 亚洲欧美福利一区二区| 亚洲一二三四区| 免费在线观看精品| 国产成人一级电影| 色综合久久66| 欧美乱妇23p| 2021久久国产精品不只是精品| 国产欧美日韩麻豆91| 亚洲乱码中文字幕| 婷婷中文字幕综合| 国产高清视频一区| 在线观看国产一区二区| 欧美成人一区二区三区片免费| 国产亚洲精品免费| 亚洲一区二区三区视频在线播放 | 91精彩视频在线观看| 555www色欧美视频| 国产精品丝袜一区| 首页国产欧美久久| 成人av电影在线网| 欧美精品乱码久久久久久按摩| 久久久久国产成人精品亚洲午夜| 亚洲乱码一区二区三区在线观看| 日本欧美久久久久免费播放网| 国产成人免费在线观看不卡| 欧洲精品在线观看| 精品电影一区二区三区| 亚洲天堂久久久久久久| 裸体歌舞表演一区二区| 91伊人久久大香线蕉| 日韩欧美一区二区视频| 亚洲免费观看高清完整版在线| 激情综合网av| 欧美日韩高清一区二区三区| 欧美激情一区三区| 麻豆精品新av中文字幕| 在线观看网站黄不卡| 久久久国产精品麻豆| 午夜电影网亚洲视频| 成人美女视频在线观看18| 欧美日韩国产小视频| 国产精品青草久久| 国产综合久久久久影院| 91精品国产综合久久蜜臀 | 久久国产精品无码网站| 色8久久精品久久久久久蜜| 久久精品欧美日韩精品 | 色综合久久天天综合网| 国产日韩亚洲欧美综合| 久99久精品视频免费观看| 欧美视频三区在线播放| 日韩一区欧美小说| 成人免费看片app下载| 精品国产91乱码一区二区三区| 天天综合色天天综合色h| 日本精品一区二区三区四区的功能| 亚洲国产精华液网站w| 狠狠色丁香久久婷婷综| 日韩欧美电影一区| 日本怡春院一区二区| 51精品国自产在线| 亚洲成人激情av| 欧美午夜电影网| 亚洲一区二区三区四区五区黄| 日本韩国欧美三级| 亚洲精品成人在线| 91影院在线观看| 亚洲男人天堂av网| 欧美性猛片xxxx免费看久爱| 亚洲一区av在线| 欧美人狂配大交3d怪物一区| 亚洲国产精品一区二区久久| 欧美日韩亚洲国产综合|