⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c_clock.h

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 H
字号:
/* *  Clock Tick Device Driver * *  This routine utilizes the Decrementer Register common to the PPC family. * *  The tick frequency is directly programmed to the configured number of *  microseconds per tick. * *  COPYRIGHT (c) 1989-1997. *  On-Line Applications Research Corporation (OAR). * *  The license and distribution terms for this file may in *  the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  Modified to support the MPC750. *  Modifications Copyright (c) 1999 Eric Valette valette@crf.canon.fr * *  $Id: c_clock.h,v 1.4.4.1 2003/09/04 18:45:53 joel Exp $ */#ifndef _LIB_LIBCPU_C_CLOCK_H#define _LIB_LIBCPU_C_CLOCK_H#include <rtems.h>/* * These functions and variables represent the API exported by the * CPU to the BSP. */extern void clockOff	(void* unused);extern void clockOn	(void* unused);extern void clockIsr	(void);extern int  clockIsOn	(void* unused);/* *  These functions and variables represent the assumptions of this *  driver on the BSP. */extern int BSP_disconnect_clock_handler (void);/* * PCI Bus Frequency */extern unsigned int BSP_bus_frequency;/* * processor clock frequency */extern unsigned int BSP_processor_frequency;/* * Time base divisior (how many tick for 1 second). */extern unsigned int BSP_time_base_divisor;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -