Searched refs:TB_InitStructure (Results 1 – 2 of 2) sorted by relevance
169 TB_InitTypeDef TB_InitStructure; in prvSetupTimerInterrupt() local178 TB_InitStructure.TB_Mode = TB_Mode_Timing; in prvSetupTimerInterrupt()179 TB_InitStructure.TB_CounterMode = TB_CounterMode_Down; in prvSetupTimerInterrupt()180 TB_InitStructure.TB_Prescaler = portPRESCALE - 1; in prvSetupTimerInterrupt()181 TB_InitStructure.TB_AutoReload = ( ( configCPU_CLOCK_HZ / portPRESCALE ) / configTICK_RATE_HZ ); in prvSetupTimerInterrupt()182 TB_Init( &TB_InitStructure ); in prvSetupTimerInterrupt()
181 TB_InitTypeDef TB_InitStructure; in prvSetupTimerInterrupt() local190 TB_InitStructure.TB_Mode = TB_Mode_Timing; in prvSetupTimerInterrupt()191 TB_InitStructure.TB_CounterMode = TB_CounterMode_Down; in prvSetupTimerInterrupt()192 TB_InitStructure.TB_Prescaler = portPRESCALE - 1; in prvSetupTimerInterrupt()193 TB_InitStructure.TB_AutoReload = ( ( configCPU_CLOCK_HZ / portPRESCALE ) / configTICK_RATE_HZ ); in prvSetupTimerInterrupt()194 TB_Init( &TB_InitStructure ); in prvSetupTimerInterrupt()