3207| 6
|
技术性问题-PTP时钟同步中STM32F429怎么输出PPS信号 |
6金钱
最佳答案// Configure pin PB5 = PTP PPS Out
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
GPIO_Init(GPIOG, &GPIO_InitStructure);
GPIO_PinAFConfig(GPIOG, GPIO_PinSource5, GPIO_AF_ETH);
| ||
| ||
发表于 2022-5-13 00:00:39
|
显示全部楼层
| ||
| ||
| ||
| ||
发表于 2022-7-7 11:23:02
|
显示全部楼层
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-24 14:21
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网