题海让大学四年没有难题
白天模式登陆

题目详情

填空题 请阅读下列程序回答下列问题./** * @brief Clears the selected data port bits. * @param GPIOx: where x can be (A..G) to select the GPIO peripheral. * @param GPIO____Pin: specifies the port bits to be written. * This parameter can be any combination of GPIO____Pin____x where x can be (0..15). * @retval None */void GPIO____ResetBits(GPIO____TypeDef* GPIOx, uint16____t GPIO____Pin){ /* Check the parameters */ assert____param(IS____GPIO____ALL____PERIPH(GPIOx)); assert____param(IS____GPIO____PIN(GPIO____Pin)); GPIOx->BRR = GPIO____Pin;}请分析以上代码,说明该函数有几个参数?分析说明该函数可以实现对端口引脚怎样的控制?;通过调用该函数如何实现以低电平驱动方式点亮GPIOC端口13号引脚的LED,请写出调用该函数的相关代码

嵌入式系统与应用课程封面

学科:嵌入式系统与应用

时间:2023-06-13 10:29:24

Copyright © 2022 津ICP备2021001502号