Ejemplo n.º 1
0
/*----------------------------------------------------------------------------*/
void LowLevelInit (void)
{
    /** Set 2 WS for Embedded Flash Access */
	EFC->EEFC_FMR = (1 << 8);

    /** Configure PMC */
    BOARD_ConfigurePmc();
}
Ejemplo n.º 2
0
/*----------------------------------------------------------------------------*/
uint32_t SystemInit (void)
{
    /** Set 2 cycle (1 WS) for Embedded Flash Access */
		// Max clock is 38 MHz (1.8V VVDCORE)
   EFC->EEFC_FMR = (1 << 8) ;

   /** Configure PMC */
  return BOARD_ConfigurePmc();
}
Ejemplo n.º 3
0
/*----------------------------------------------------------------------------*/
uint32_t SystemInit (void)
{
#if defined(BOOT)
  lowLevelUsbCheck() ;
#endif

  // Set 2 cycle (1 WS) for Embedded Flash Access
  // Max clock is 38 MHz (1.8V VVDCORE)
  EFC->EEFC_FMR = (1 << 8) ;

  // Configure PMC
  return BOARD_ConfigurePmc();
}
Ejemplo n.º 4
0
/*----------------------------------------------------------------------------*/
uint32_t SystemInit (void)
{
#ifdef BOOT
#ifdef REVB
	lowLevelUsbCheck() ;
#endif
#endif
#ifdef USE_54_MHZ
    /** Set 3 cycle (2 WS) for Embedded Flash Access */
		// Max clock is 64 MHz (1.8V VVDCORE)
   EFC->EEFC_FMR = (3 << 8) ;
#else
 #ifdef USE_64_MHZ
   EFC->EEFC_FMR = (3 << 8) ;
 #else
    /** Set 2 cycle (1 WS) for Embedded Flash Access */
		// Max clock is 38 MHz (1.8V VVDCORE)
   EFC->EEFC_FMR = (1 << 8) ;
 #endif
#endif

   /** Configure PMC */
  return BOARD_ConfigurePmc();
}
Ejemplo n.º 5
0
/*----------------------------------------------------------------------------*/
void LowLevelInit (void)
{
    /** Configure PMC */
    BOARD_ConfigurePmc();
}