PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
usbethernetclock.h File Reference
#include "mcu.h"
#include "usb.h"
Include dependency graph for usbethernetclock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USBETHERNETCLOCK_USE_USB   1
 
#define USBETHERNETCLOCK_USE_ETHERNET   0
 
#define USBETHERNETCLOCK_USE_L3   0
 
#define USBETHERNETCLOCK_USE_PDL   0
 
#define USBETHERNETCLOCK_USE_STANDALONE   1
 
#define L3_OFF   0
 
#define L3_ON   1
 
#define ETHERNETCLOCK_OUTFREQ   FREQ_25MHZ
 
#define FREQ_4MHZ   ( 4000000UL)
 
#define FREQ_8MHZ   ( 8000000UL)
 
#define FREQ_16MHZ   (16000000UL)
 
#define FREQ_24MHZ   (24000000UL)
 
#define FREQ_48MHZ   (48000000UL)
 
#define FREQ_25MHZ   (25000000UL)
 
#define FREQ_50MHZ   (50000000UL)
 
#define FREQ_96MHZ   (96000000UL)
 
#define FREQ_144MHZ   (144000000UL)
 
#define MAINCRYSTALFREQ   __CLKMO
 
#define FM3MCUTYPE_TYPE8   8
 
#define FM3MCUTYPE_TYPE9   9
 
#define L3_PERIPHERAL_ENABLE_USB0   L3_OFF
 
#define L3_PERIPHERAL_ENABLE_USB1   L3_OFF
 
#define FM3_PERIPH_BASE   (0x40000000UL) /* Peripheral Base */
 

Functions

void UsbEthernetClock_Init (void)
 Initalize PLL for USB / Ethernet Clock. More...
 
void UsbEthernetClock_Deinit (void)
 Deinitalize PLL for USB / Ethernet Clock. More...
 

Detailed Description

Headerfile for USB / Ethernet functions USB/Ethernet Clock Module description

History:

  • 2012-08-10 1.0 MSc First version.
  • 2012-08-23 1.1 MSc GNU compiler compatible
  • 2012-08-30 1.2 MSc Correction in USB 0/1 clock enable
  • 2012-09-19 1.3 MSc PLL settings for type 6 devices corrected
  • 2012-11-02 1.4 MSc PLL settings for ethernet corrected
  • 2012-11-02 1.5 CNo Integration Ethernet driver
  • 2012-11-22 1.6 MSc typedefinitions for ethernetclock added (for use without header file)
  • 2013-01-14 1.7 MSc type 6 12MHz setting added
  • 2013-01-16 1.8 MSc type 9 setting added
  • 2013-06-04 1.9 MSc FM4 support added
  • 2014-02-28 1.9 MSc Updates in FM4 defines

Headerfile for USB / Ethernet functions USB/Ethernet Clock Module description

History:

  • 2012-08-10 1.0 MSc First version.
  • 2012-08-23 1.1 MSc GNU compiler compatible
  • 2012-08-30 1.2 MSc Correction in USB 0/1 clock enable
  • 2012-09-19 1.3 MSc PLL settings for type 6 devices corrected
  • 2012-11-02 1.4 MSc PLL settings for ethernet corrected
  • 2012-11-02 1.5 CNo Ethernet MAC driver integration
  • 2012-11-22 1.6 MSc typedefinitions for ethernetclock added (for use without header file)
  • 2013-01-14 1.7 MSc type 6 12MHz setting added
  • 2013-01-16 1.8 MSc type 9 setting added
  • 2013-06-04 1.9 MSc FM4 support added
  • 2014-02-28 1.9 MSc Updates in FM4 defines

Definition in file usbethernetclock.h.