yabo国际娱乐对话框半导体客户支持-SCLK 和TMS 怎样设为GPIO口 https://support.dialog-semiconductor.com/resource-keywords/sclk-%E5%92%8Ctms-%E6%80%8E%E6%A0%B7%E8%AE%BE%E4%B8%BAgpio%E5%8F%A3 en J-LINK 烧录 SCLK 和TMS 怎样设为GPIO口 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs-dialog-

因IO口不够,把SCLK和TMS PIN 用作普通IO驱动指示灯。按IO的设置方法:在void GPIO_reservations(void)内设定 RESERVE_GPIO( GPIO, GPIO_PORT_1, GPIO_PIN_4, PID_GPIO); //G led 和void set_pad_functions(void) 内设定 GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_4, OUTPUT, PID_GPIO, false); // G LED 为普通GPIO口, 但是设为高电平输出GPIO_SetActive(GPIO_PORT_1, GPIO_PIN_4); 时,P1.4口一直为低电平,是什么原因呢?

Device: 
Thu, 13 Apr 2017 09:04:13 +0000 Heminghui 18133 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs-dialog-#comments