User Activity

I need issue software reset after 1s when power up stm32f0xx, like press hardware reset button but i need in software. plz help me implement only one time after amount 1 second when power up stm32.
I using STM32F103C8, SW4STM32 and CubeMx When using input capture mode and call __HAL_TIM_SET_CAPTUREPOLARITY(htim, TIM_CHANNEL_1, TIM_INPUTCHANNELPOLARITY_FALLING);The complier always show error: /Users/duonghuuhoang/iWorks/ARM/TIM_InputCapture/Driv...