Set nth bit for GPIOx register 0 or 1

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,
 
)    BIT_ADDR(GPIO_ALTFUNCCLR_ADDR(x),n)

BITBAND GPIOx_ALTFUNCCLR_ADDR

Definition at line 262 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_ALTFUNCSET

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

BITBAND GPIOx_ALTFUNCSET_ADDR

Definition at line 261 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_DATA

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

BITBAND GPIOx_DATA_ADDR

Definition at line 257 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_DATAOUT

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

BITBAND GPIOx_DATAOUT_ADDR

Definition at line 258 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTDBECLR

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

BITBAND GPIOx_INTDBECLR_ADDR

Definition at line 271 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTDBESET

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

BITBAND GPIOx_INTDBESET_ADDR

Definition at line 270 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTENCLR

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

BITBAND GPIOx_INTENCLR_ADDR

Definition at line 264 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTENSET

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

BITBAND GPIOx_INTENSET_ADDR

Definition at line 263 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTPOLCLR

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

BITBAND GPIOx_INTPOLCLR_ADDR

Definition at line 268 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTPOLSET

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

BITBAND GPIOx_INTPOLSET_ADDR

Definition at line 267 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTSTAT

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

BITBAND GPIOx_INTSTAT_ADDR

Definition at line 269 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTTYPECLR

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

BITBAND GPIOx_INTTYPECLR_ADDR

Definition at line 266 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_INTTYPESET

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

BITBAND GPIOx_INTTYPESET_ADDR

Definition at line 265 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_OUTENCLR

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

BITBAND GPIOx_OUTENCLR_ADDR

Definition at line 260 of file gr55xx_ll_gpio.h.

◆ SET_GPIO_OUTENSET

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

BITBAND GPIOx_OUTENSET_ADDR

Definition at line 259 of file gr55xx_ll_gpio.h.