Macros
Set nth bit for GPIOx register 0 or 1
Peripheral Driver » LL Driver » GPIO » Defines » GPIO Exported Constants

## Macros
#define | SET_GPIO_DATA(x, n) BIT_ADDR(GPIO_DATA_ADDR(x),n)
#define | SET_GPIO_DATAOUT(x, n) BIT_ADDR(GPIO_DATAOUT_ADDR(x),n)
#define | SET_GPIO_OUTENSET(x, n) BIT_ADDR(GPIO_OUTENSET_ADDR(x),n)
#define | SET_GPIO_OUTENCLR(x, n) BIT_ADDR(GPIO_OUTENCLR_ADDR(x),n)
#define | SET_GPIO_ALTFUNCSET(x, n) BIT_ADDR(GPIO_ALTFUNCSET_ADDR(x),n)
#define | SET_GPIO_ALTFUNCCLR(x, n) BIT_ADDR(GPIO_ALTFUNCCLR_ADDR(x),n)
#define | SET_GPIO_INTENSET(x, n) BIT_ADDR(GPIO_INTENSET_ADDR(x),n)
#define | SET_GPIO_INTENCLR(x, n) BIT_ADDR(GPIO_INTENCLR_ADDR(x),n)
#define | SET_GPIO_INTTYPESET(x, n) BIT_ADDR(GPIO_INTTYPESET_ADDR(x),n)
#define | SET_GPIO_INTTYPECLR(x, n) BIT_ADDR(GPIO_INTTYPECLR_ADDR(x),n)
#define | SET_GPIO_INTPOLSET(x, n) BIT_ADDR(GPIO_INTPOLSET_ADDR(x),n)
#define | SET_GPIO_INTPOLCLR(x, n) BIT_ADDR(GPIO_INTPOLCLR_ADDR(x),n)
#define | SET_GPIO_INTSTAT(x, n) BIT_ADDR(GPIO_INTSTAT_ADDR(x),n)
#define | SET_GPIO_INTDBESET(x, n) BIT_ADDR(GPIO_INTDBESET_ADDR(x),n)
#define | SET_GPIO_INTDBECLR(x, n) BIT_ADDR(GPIO_INTDBECLR_ADDR(x),n)

## Detailed Description

Attention
  x=0/1/2,0<=n<=31

## Macro Definition Documentation

## ◆ SET_GPIO_ALTFUNCCLR

#define SET_GPIO_ALTFUNCCLR | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_ALTFUNCCLR_ADDR(x),n)

BITBAND GPIOx_ALTFUNCCLR_ADDR

Definition at line 245 of file ll_gpio.h.

## ◆ SET_GPIO_ALTFUNCSET

#define SET_GPIO_ALTFUNCSET | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_ALTFUNCSET_ADDR(x),n)

BITBAND GPIOx_ALTFUNCSET_ADDR

Definition at line 244 of file ll_gpio.h.

## ◆ SET_GPIO_DATA

#define SET_GPIO_DATA | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_DATA_ADDR(x),n)

BITBAND GPIOx_DATA_ADDR

Definition at line 240 of file ll_gpio.h.

## ◆ SET_GPIO_DATAOUT

#define SET_GPIO_DATAOUT | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_DATAOUT_ADDR(x),n)

BITBAND GPIOx_DATAOUT_ADDR

Definition at line 241 of file ll_gpio.h.

## ◆ SET_GPIO_INTDBECLR

#define SET_GPIO_INTDBECLR | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTDBECLR_ADDR(x),n)

BITBAND GPIOx_INTDBECLR_ADDR

Definition at line 254 of file ll_gpio.h.

## ◆ SET_GPIO_INTDBESET

#define SET_GPIO_INTDBESET | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTDBESET_ADDR(x),n)

BITBAND GPIOx_INTDBESET_ADDR

Definition at line 253 of file ll_gpio.h.

## ◆ SET_GPIO_INTENCLR

#define SET_GPIO_INTENCLR | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTENCLR_ADDR(x),n)

BITBAND GPIOx_INTENCLR_ADDR

Definition at line 247 of file ll_gpio.h.

## ◆ SET_GPIO_INTENSET

#define SET_GPIO_INTENSET | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTENSET_ADDR(x),n)

BITBAND GPIOx_INTENSET_ADDR

Definition at line 246 of file ll_gpio.h.

## ◆ SET_GPIO_INTPOLCLR

#define SET_GPIO_INTPOLCLR | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTPOLCLR_ADDR(x),n)

BITBAND GPIOx_INTPOLCLR_ADDR

Definition at line 251 of file ll_gpio.h.

## ◆ SET_GPIO_INTPOLSET

#define SET_GPIO_INTPOLSET | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTPOLSET_ADDR(x),n)

BITBAND GPIOx_INTPOLSET_ADDR

Definition at line 250 of file ll_gpio.h.

## ◆ SET_GPIO_INTSTAT

#define SET_GPIO_INTSTAT | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTSTAT_ADDR(x),n)

BITBAND GPIOx_INTSTAT_ADDR

Definition at line 252 of file ll_gpio.h.

## ◆ SET_GPIO_INTTYPECLR

#define SET_GPIO_INTTYPECLR | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTTYPECLR_ADDR(x),n)

BITBAND GPIOx_INTTYPECLR_ADDR

Definition at line 249 of file ll_gpio.h.

## ◆ SET_GPIO_INTTYPESET

#define SET_GPIO_INTTYPESET | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_INTTYPESET_ADDR(x),n)

BITBAND GPIOx_INTTYPESET_ADDR

Definition at line 248 of file ll_gpio.h.

## ◆ SET_GPIO_OUTENCLR

#define SET_GPIO_OUTENCLR | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_OUTENCLR_ADDR(x),n)

BITBAND GPIOx_OUTENCLR_ADDR

Definition at line 243 of file ll_gpio.h.

## ◆ SET_GPIO_OUTENSET

#define SET_GPIO_OUTENSET | ( |  | x,
|  |  | n
| ) |  | BIT_ADDR(GPIO_OUTENSET_ADDR(x),n)

BITBAND GPIOx_OUTENSET_ADDR

Definition at line 242 of file ll_gpio.h.