刚刚接触嵌入式,请大神指教一下这个程序段(想要定时1S)
void TIM2_Configuration(){
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
TIM_TimeBaseStructure.TIM_Period = ( );
TIM_TimeBaseStructure.TIM_Prescaler = 3600-1;
TIM_TimeBaseStructure.TIM_ClockDivision = 0x0;
TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode( );
TIM_TimeBaseInit(TIM2,&TIM_TimeBaseStructure);
TIM_ClearFlag(TIM2,( ));//清除更新标志
TIM_ITConfig(TIM2,( ),( ));//开中断
TIM_Cmd(TIM2,( ));//使能定时器2
}
小括号中该填什么???