Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

cy2239x.c File Reference


Detailed Description

Routines for the Cypress CY22393/4/5 clock chips.

 *
 * $Log: cy2239x.c,v $
 * Revision 1.1  2005/10/24 10:21:57  haraldkipp
 * Initial check in.
 *
 *
 * 


Defines

#define I2C_SLA_PLL   0x69
#define PLL_BASE_FREQ   25000000UL

Functions

u_long Cy2239xGetFreq (int clk, int mode)
 Get the frequency of a specified output.


Function Documentation

u_long Cy2239xGetFreq int  clk,
int  mode
 

Get the frequency of a specified output.

On Ethernut 3 clock A provides the Ethernet Controller clock and clock C is used as the CPU clock.

Parameters:
clk Specifies the output. 0 = ClkA, 1 = ClkB etc.
mode Level on the S2 input, 0 or 1.
Returns:
Frequency in Hertz.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/