MG32L003 Standard Peripherals Firmware Library
Macros

Macros

#define GPIO_PUPD_NOPULL   ((uint32_t)0x00000000U)
 
#define GPIO_PUPD_UP   ((uint32_t)0x00010000U)
 
#define GPIO_PUPD_DOWN   ((uint32_t)0x00020000U)
 

Detailed Description

Macro Definition Documentation

◆ GPIO_PUPD_DOWN

#define GPIO_PUPD_DOWN   ((uint32_t)0x00020000U)

Pull down resistor enabled

◆ GPIO_PUPD_NOPULL

#define GPIO_PUPD_NOPULL   ((uint32_t)0x00000000U)

No pull resistor

◆ GPIO_PUPD_UP

#define GPIO_PUPD_UP   ((uint32_t)0x00010000U)

Pull up resistor enabled