MG32F10x Standard Peripherals Firmware Library
模块 | 宏定义 | 枚举
GPIO_Exported_Constants

模块

 GPIO_Pins_define
 
 GPIO_Port_Sources
 
 GPIO_Pin_sources
 
 GPIO_MODE_define
 
 GPIO_OTYPE_define
 
 GPIO_SPEED_define
 
 GPIO_PUPD_define
 
 GPIO_AF_define
 

宏定义

#define IS_GPIO_ALL_PERIPH(PERIPH)
 
#define IS_GPIO_BIT_ACTION(ACTION)   (((ACTION) == Bit_RESET) || ((ACTION) == Bit_SET))
 

枚举

enum  BitAction { Bit_RESET = 0, Bit_SET }
 GPIO Bit SET and Bit RESET enumeration
 

详细描述

宏定义说明

◆ IS_GPIO_ALL_PERIPH

#define IS_GPIO_ALL_PERIPH (   PERIPH)
值:
(((PERIPH) == GPIOA) || \
((PERIPH) == GPIOB) || \
((PERIPH) == GPIOC) || \
((PERIPH) == GPIOD))