forked from Imagelibrary/rtems
27 lines
496 B
C
27 lines
496 B
C
/*
|
|
* Copyright (c) 2006 Kolja Waschk rtemsdev/ixo.de
|
|
*
|
|
* The license and distribution terms for this file may be
|
|
* found in the file LICENSE in this distribution or at
|
|
* http://www.rtems.org/license/LICENSE.
|
|
*/
|
|
|
|
#ifndef __NIOS2GEN_CLOCKS_H
|
|
#define __NIOS2GEN_CLOCKS_H 1
|
|
|
|
#include "ptf.h"
|
|
|
|
typedef struct clockdsc
|
|
{
|
|
char *name;
|
|
char *cfgname;
|
|
unsigned long freq;
|
|
struct clockdsc *next;
|
|
}
|
|
clock_desc;
|
|
|
|
clock_desc *find_clocks( struct ptf *ptf, struct ptf *cfg );
|
|
|
|
#endif
|
|
|