- /**
- * [url=home.php?mod=space&uid=247401]@brief[/url] Config Clock Out Function.
- * @param None
- * @retval None
- */
- void MCO_Config(void)
- {
- GPIO_InitType GPIO_InitStructure;
- RCC_APB2PeriphClockCmd(RCC_APB2PERIPH_GPIOA, ENABLE);
- GPIO_InitStructure.GPIO_Pins = GPIO_Pins_8;
- GPIO_InitStructure.GPIO_MaxSpeed = GPIO_MaxSpeed_50MHz;
- GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
- GPIO_Init(GPIOA, &GPIO_InitStructure);
- /*PA8输出PLL/4*/
- RCC_CLKOUTConfig(RCC_CLKOUT_PLL_Div4, RCC_MCOPRE_1);
- }
这个函数,
MCO是什么意思?
感觉是在配置GPIO,怎么函数功能是Config Clock Out Function.
|