Demonstrations for tim0 as capture pwm operation.

example function：
	PA10 30ms toggle putin PB6 two cycle wave ;
	TIM0 config capture PWM: CH0 capture rising and CH1 capture failing.
	PA9 toggle in ch0 capture interrupt.

1. capture example ：
	FCLK：96M。
	
	timer cycle calculate formula：(period+1)/Freq *(Prescaler)   
								 = (0xFFFF+1)/96000000 * (128)
								 =  0.0873s

	