PWM 주파수 설정 /* 40kHz */ Set_US_CTRLDuty(40000, 50); /******************************************************************************* * Function Name : * Parameters : None * Return : None * Description : *******************************************************************************/ void TIM3_Init(u8 a_chOption, u32 a_nPrescaler, u32 a_nPeriod, u16 a_nDuty) { GPIO_InitTypeDef GPIO_InitStructure; ..