OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libcpu/] [powerpc/] [mpc6xx/] [clock/] [c_clock.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  Clock Tick Device Driver
3
 *
4
 *  This routine utilizes the Decrementer Register common to the PPC family.
5
 *
6
 *  The tick frequency is directly programmed to the configured number of
7
 *  microseconds per tick.
8
 *
9
 *  COPYRIGHT (c) 1989-1997.
10
 *  On-Line Applications Research Corporation (OAR).
11
 *  Copyright assigned to U.S. Government, 1994.
12
 *
13
 *  The license and distribution terms for this file may in
14
 *  the file LICENSE in this distribution or at
15
 *  http://www.OARcorp.com/rtems/license.html.
16
 *
17
 *  Modified to support the MPC750.
18
 *  Modifications Copyright (c) 1999 Eric Valette valette@crf.canon.fr
19
 *
20
 *  $Id: c_clock.h,v 1.2 2001-09-27 12:01:24 chris Exp $
21
 */
22
 
23
#ifndef _LIB_LIBCPU_C_CLOCK_H
24
#define _LIB_LIBCPU_C_CLOCK_H
25
 
26
#include <rtems.h>
27
#include <bsp.h>
28
 
29
/*
30
 * Theses functions and variables represent the API exported by the CPU to the BSP
31
 */
32
extern void clockOff    (void* unused);
33
extern void clockOn     (void* unused);
34
extern void clockIsr    (void);
35
extern int  clockIsOn   (void* unused);
36
 
37
#endif
38
 
39
 
40
 
41
 
42
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.