MG32F10x Standard Peripherals Firmware Library
Modules | Macros | Enumerations
GPIO_Exported_Constants

Modules

 GPIO_Pins_define
 
 GPIO_Port_Sources
 
 GPIO_Pin_sources
 
 GPIO_MODE_define
 
 GPIO_OTYPE_define
 
 GPIO_SPEED_define
 
 GPIO_PUPD_define
 
 GPIO_AF_define
 

Macros

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

Enumerations

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

Detailed Description

Macro Definition Documentation

◆ IS_GPIO_ALL_PERIPH

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