FLASH_DeInit();
FLASH_Unlock(FLASH_MEMTYPE_PROG);
FLASH_ProgramOptionByte(0x4803, 0x01);
TIM1->PSCRH=0x00;
TIM1->PSCRL=0x00;
TIM1->ARRH=0x01;
TIM1->ARRL=0x00;
TIM1->CCER1=0x03;
TIM1->CCMR1=0x68;
TIM1->CCR1H=0x00;
TIM1->CCR1L=0x60;
TIM1->BKR =0x80;
TIM1->CR1=0x01;
st8s003PC6(TIM1CH1),就是出不来波形,哪的问题
|