コード例 #1
0
ファイル: bsp.c プロジェクト: EnricoGiordano1992/Tesi
int __low_level_init(void) {
  SystemCoreClockUpdate();  // Ensure, the SystemCoreClock is set
  //
  // Setup the systick timer with a 1ms delay
  // ISR located in GUI\GUI_X.c
  //
  SysTick_Config(SystemCoreClock/1000);  
  //
  // Init SDRAM, NAND- and NOR-flash
  //
  _EMC_Init();
  //
  //  Perform other initialization here, if required
  //
  return 1;
}
コード例 #2
0
ファイル: HWConf.c プロジェクト: FutureDesigns/uEZ
int __low_level_init(void) {
  SystemCoreClockUpdate();   // Ensure, the SystemCoreClock is set
  _EMC_Init();               // Init SDRAM, NAND- and NOR-flash
  return 1;
}