FLASH_DeInit();
FLASH_Unlock(FLASH_MEMTYPE_PROG);
FLASH_ProgramOptionByte(0x4803, 0x01);
TIM1->
SCRH=0x00;
TIM1->
SCRL=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;
St8s003 PC6(TIM1CH1),就是出不来波形,哪的问题啊
一周热门 更多>