示例#1
0
/*---------------------------------------------------------------------------
     TITLE   : Main_Init
     WORK    :
     ARG     : void
     RET     : void
---------------------------------------------------------------------------*/
void Main_Init( void )
{
	Hw_Init();
	Ap_Init();
	
	Hw_Timer_Set  ( HW_TIMER_CH_LED, 1000, LOOP_TIME, LED_Tick, NULL );
	Hw_Timer_Start( HW_TIMER_CH_LED );	
}
示例#2
0
BOOL If_Init(PWLAN_ADAPTER Adapter)
{
	BOOL rc = Hw_Init();

	if (!rc)
		If_Deinit(Adapter);

	pWlanInterruptCallback = If_OnIoIntr;

	return rc;
}
示例#3
0
文件: main.c 项目: oroca/oroca_bldc
/*---------------------------------------------------------------------------
     TITLE   : Main_Init
     WORK    :
     ARG     : void
     RET     : void
---------------------------------------------------------------------------*/
void Main_Init( void )
{
	HAL_Init();
	Hw_Init();
}