STM32的LL库函数——GPIO

LL_GPIO_SetPinModevoid LL_GPIO_SetPinMode (GPIO_TypeDef * GPIOx, uint32_t Pin, uint32_t Mode)

LL_GPIO_GetPinModeuint32_t LL_GPIO_GetPinMode (GPIO_TypeDef * GPIOx, uint32_t Pin)

LL_GPIO_SetPinOutputTypevoid LL_GPIO_SetPinOutputType (GPIO_TypeDef * GPIOx, uint32_t PinMask, uint32_t OutputType)

LL_GPIO_GetPinOutputType

uint32_t LL_GPIO_GetPinOutputType (GPIO_TypeDef * GPIOx, uint32_t Pin)

LL_GPIO_ReadInputPortuint32_t LL_GPIO_ReadInputPort (GPIO_TypeDef * GPIOx)

LL_GPIO_IsInputPinSetuint32_t LL_GPIO_IsInputPinSet (GPIO_TypeDef * GPIOx, uint32_t PinMask)

LL_GPIO_WriteOutputPortvoid LL_GPIO_WriteOutputPort (GPIO_TypeDef * GPIOx, uint32_t PortValue)

LL_GPIO_ReadOutputPortuint32_t LL_GPIO_ReadOutputPort (GPIO_TypeDef * GPIOx)

LL_GPIO_IsOutputPinSetuint32_t LL_GPIO_IsOutputPinSet (GPIO_TypeDef * GPIOx, uint32_t PinMask)

LL_GPIO_TogglePinvoid LL_GPIO_TogglePin (GPIO_TypeDef * GPIOx, uint32_t PinMask)

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值