mikroSDK Reference Manual

Macros

#define GPIOA_BASE   (0x400FF000u)
 
#define GPIOA   ((GPIO_Type *)GPIOA_BASE)
 
#define GPIOB_BASE   (0x400FF040u)
 
#define GPIOB   ((GPIO_Type *)GPIOB_BASE)
 
#define GPIOC_BASE   (0x400FF080u)
 
#define GPIOC   ((GPIO_Type *)GPIOC_BASE)
 
#define GPIOD_BASE   (0x400FF0C0u)
 
#define GPIOD   ((GPIO_Type *)GPIOD_BASE)
 
#define GPIOE_BASE   (0x400FF100u)
 
#define GPIOE   ((GPIO_Type *)GPIOE_BASE)
 
#define GPIO_BASE_ADDRS   { GPIOA_BASE, GPIOB_BASE, GPIOC_BASE, GPIOD_BASE, GPIOE_BASE }
 
#define GPIO_BASE_PTRS   { GPIOA, GPIOB, GPIOC, GPIOD, GPIOE }
 

PDOR - Port Data Output Register

#define GPIO_PDOR_PDO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDOR_PDO_SHIFT   (0U)
 
#define GPIO_PDOR_PDO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)
 
#define GPIO_PDOR_PDO_MASK   0xFFFFFFFFu
 
#define GPIO_PDOR_PDO_SHIFT   0
 
#define GPIO_PDOR_PDO(x)   (((uint32_t)(((uint32_t)(x))<<GPIO_PDOR_PDO_SHIFT))&GPIO_PDOR_PDO_MASK)
 
#define GPIO_PDOR_PDO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDOR_PDO_SHIFT   (0U)
 
#define GPIO_PDOR_PDO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)
 
#define GPIO_PDOR_PDO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDOR_PDO_SHIFT   (0U)
 
#define GPIO_PDOR_PDO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)
 
#define GPIO_PDOR_PDO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDOR_PDO_SHIFT   (0U)
 
#define GPIO_PDOR_PDO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)
 
#define GPIO_PDOR_PDO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDOR_PDO_SHIFT   (0U)
 
#define GPIO_PDOR_PDO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)
 

PSOR - Port Set Output Register

#define GPIO_PSOR_PTSO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PSOR_PTSO_SHIFT   (0U)
 
#define GPIO_PSOR_PTSO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)
 
#define GPIO_PSOR_PTSO_MASK   0xFFFFFFFFu
 
#define GPIO_PSOR_PTSO_SHIFT   0
 
#define GPIO_PSOR_PTSO(x)   (((uint32_t)(((uint32_t)(x))<<GPIO_PSOR_PTSO_SHIFT))&GPIO_PSOR_PTSO_MASK)
 
#define GPIO_PSOR_PTSO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PSOR_PTSO_SHIFT   (0U)
 
#define GPIO_PSOR_PTSO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)
 
#define GPIO_PSOR_PTSO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PSOR_PTSO_SHIFT   (0U)
 
#define GPIO_PSOR_PTSO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)
 
#define GPIO_PSOR_PTSO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PSOR_PTSO_SHIFT   (0U)
 
#define GPIO_PSOR_PTSO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)
 
#define GPIO_PSOR_PTSO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PSOR_PTSO_SHIFT   (0U)
 
#define GPIO_PSOR_PTSO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)
 

PCOR - Port Clear Output Register

#define GPIO_PCOR_PTCO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PCOR_PTCO_SHIFT   (0U)
 
#define GPIO_PCOR_PTCO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)
 
#define GPIO_PCOR_PTCO_MASK   0xFFFFFFFFu
 
#define GPIO_PCOR_PTCO_SHIFT   0
 
#define GPIO_PCOR_PTCO(x)   (((uint32_t)(((uint32_t)(x))<<GPIO_PCOR_PTCO_SHIFT))&GPIO_PCOR_PTCO_MASK)
 
#define GPIO_PCOR_PTCO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PCOR_PTCO_SHIFT   (0U)
 
#define GPIO_PCOR_PTCO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)
 
#define GPIO_PCOR_PTCO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PCOR_PTCO_SHIFT   (0U)
 
#define GPIO_PCOR_PTCO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)
 
#define GPIO_PCOR_PTCO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PCOR_PTCO_SHIFT   (0U)
 
#define GPIO_PCOR_PTCO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)
 
#define GPIO_PCOR_PTCO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PCOR_PTCO_SHIFT   (0U)
 
#define GPIO_PCOR_PTCO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)
 

PTOR - Port Toggle Output Register

#define GPIO_PTOR_PTTO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PTOR_PTTO_SHIFT   (0U)
 
#define GPIO_PTOR_PTTO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)
 
#define GPIO_PTOR_PTTO_MASK   0xFFFFFFFFu
 
#define GPIO_PTOR_PTTO_SHIFT   0
 
#define GPIO_PTOR_PTTO(x)   (((uint32_t)(((uint32_t)(x))<<GPIO_PTOR_PTTO_SHIFT))&GPIO_PTOR_PTTO_MASK)
 
#define GPIO_PTOR_PTTO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PTOR_PTTO_SHIFT   (0U)
 
#define GPIO_PTOR_PTTO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)
 
#define GPIO_PTOR_PTTO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PTOR_PTTO_SHIFT   (0U)
 
#define GPIO_PTOR_PTTO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)
 
#define GPIO_PTOR_PTTO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PTOR_PTTO_SHIFT   (0U)
 
#define GPIO_PTOR_PTTO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)
 
#define GPIO_PTOR_PTTO_MASK   (0xFFFFFFFFU)
 
#define GPIO_PTOR_PTTO_SHIFT   (0U)
 
#define GPIO_PTOR_PTTO(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)
 

PDIR - Port Data Input Register

#define GPIO_PDIR_PDI_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDIR_PDI_SHIFT   (0U)
 
#define GPIO_PDIR_PDI(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)
 
#define GPIO_PDIR_PDI_MASK   0xFFFFFFFFu
 
#define GPIO_PDIR_PDI_SHIFT   0
 
#define GPIO_PDIR_PDI(x)   (((uint32_t)(((uint32_t)(x))<<GPIO_PDIR_PDI_SHIFT))&GPIO_PDIR_PDI_MASK)
 
#define GPIO_PDIR_PDI_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDIR_PDI_SHIFT   (0U)
 
#define GPIO_PDIR_PDI(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)
 
#define GPIO_PDIR_PDI_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDIR_PDI_SHIFT   (0U)
 
#define GPIO_PDIR_PDI(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)
 
#define GPIO_PDIR_PDI_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDIR_PDI_SHIFT   (0U)
 
#define GPIO_PDIR_PDI(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)
 
#define GPIO_PDIR_PDI_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDIR_PDI_SHIFT   (0U)
 
#define GPIO_PDIR_PDI(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)
 

PDDR - Port Data Direction Register

#define GPIO_PDDR_PDD_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDDR_PDD_SHIFT   (0U)
 
#define GPIO_PDDR_PDD(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)
 
#define GPIO_PDDR_PDD_MASK   0xFFFFFFFFu
 
#define GPIO_PDDR_PDD_SHIFT   0
 
#define GPIO_PDDR_PDD(x)   (((uint32_t)(((uint32_t)(x))<<GPIO_PDDR_PDD_SHIFT))&GPIO_PDDR_PDD_MASK)
 
#define GPIO_PDDR_PDD_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDDR_PDD_SHIFT   (0U)
 
#define GPIO_PDDR_PDD(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)
 
#define GPIO_PDDR_PDD_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDDR_PDD_SHIFT   (0U)
 
#define GPIO_PDDR_PDD(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)
 
#define GPIO_PDDR_PDD_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDDR_PDD_SHIFT   (0U)
 
#define GPIO_PDDR_PDD(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)
 
#define GPIO_PDDR_PDD_MASK   (0xFFFFFFFFU)
 
#define GPIO_PDDR_PDD_SHIFT   (0U)
 
#define GPIO_PDDR_PDD(x)   (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)
 

Macro Definition Documentation

◆ GPIO_BASE_ADDRS

#define GPIO_BASE_ADDRS   { GPIOA_BASE, GPIOB_BASE, GPIOC_BASE, GPIOD_BASE, GPIOE_BASE }

Array initializer of GPIO peripheral base addresses

◆ GPIO_BASE_PTRS

#define GPIO_BASE_PTRS   { GPIOA, GPIOB, GPIOC, GPIOD, GPIOE }

Array initializer of GPIO peripheral base pointers

◆ GPIO_PCOR_PTCO [1/6]

#define GPIO_PCOR_PTCO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)

PTCO - Port Clear Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is cleared to logic 0.

◆ GPIO_PCOR_PTCO [2/6]

#define GPIO_PCOR_PTCO ( x)    (((uint32_t)(((uint32_t)(x))<<GPIO_PCOR_PTCO_SHIFT))&GPIO_PCOR_PTCO_MASK)

PTCO - Port Clear Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is cleared to logic 0.

◆ GPIO_PCOR_PTCO [3/6]

#define GPIO_PCOR_PTCO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)

PTCO - Port Clear Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is cleared to logic 0.

◆ GPIO_PCOR_PTCO [4/6]

#define GPIO_PCOR_PTCO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)

PTCO - Port Clear Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is cleared to logic 0.

◆ GPIO_PCOR_PTCO [5/6]

#define GPIO_PCOR_PTCO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)

PTCO - Port Clear Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is cleared to logic 0.

◆ GPIO_PCOR_PTCO [6/6]

#define GPIO_PCOR_PTCO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PCOR_PTCO_SHIFT)) & GPIO_PCOR_PTCO_MASK)

PTCO - Port Clear Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is cleared to logic 0.

◆ GPIO_PDDR_PDD [1/6]

#define GPIO_PDDR_PDD ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)

PDD - Port Data Direction 0b00000000000000000000000000000000..Pin is configured as general-purpose input, for the GPIO function. 0b00000000000000000000000000000001..Pin is configured as general-purpose output, for the GPIO function.

◆ GPIO_PDDR_PDD [2/6]

#define GPIO_PDDR_PDD ( x)    (((uint32_t)(((uint32_t)(x))<<GPIO_PDDR_PDD_SHIFT))&GPIO_PDDR_PDD_MASK)

PDD - Port Data Direction 0b00000000000000000000000000000000..Pin is configured as general-purpose input, for the GPIO function. 0b00000000000000000000000000000001..Pin is configured as general-purpose output, for the GPIO function.

◆ GPIO_PDDR_PDD [3/6]

#define GPIO_PDDR_PDD ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)

PDD - Port Data Direction 0b00000000000000000000000000000000..Pin is configured as general-purpose input, for the GPIO function. 0b00000000000000000000000000000001..Pin is configured as general-purpose output, for the GPIO function.

◆ GPIO_PDDR_PDD [4/6]

#define GPIO_PDDR_PDD ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)

PDD - Port Data Direction 0b00000000000000000000000000000000..Pin is configured as general-purpose input, for the GPIO function. 0b00000000000000000000000000000001..Pin is configured as general-purpose output, for the GPIO function.

◆ GPIO_PDDR_PDD [5/6]

#define GPIO_PDDR_PDD ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)

PDD - Port Data Direction 0b00000000000000000000000000000000..Pin is configured as general-purpose input, for the GPIO function. 0b00000000000000000000000000000001..Pin is configured as general-purpose output, for the GPIO function.

◆ GPIO_PDDR_PDD [6/6]

#define GPIO_PDDR_PDD ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDDR_PDD_SHIFT)) & GPIO_PDDR_PDD_MASK)

PDD - Port Data Direction 0b00000000000000000000000000000000..Pin is configured as general-purpose input, for the GPIO function. 0b00000000000000000000000000000001..Pin is configured as general-purpose output, for the GPIO function.

◆ GPIO_PDIR_PDI [1/6]

#define GPIO_PDIR_PDI ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)

PDI - Port Data Input 0b00000000000000000000000000000000..Pin logic level is logic 0, or is not configured for use by digital function. 0b00000000000000000000000000000001..Pin logic level is logic 1.

◆ GPIO_PDIR_PDI [2/6]

#define GPIO_PDIR_PDI ( x)    (((uint32_t)(((uint32_t)(x))<<GPIO_PDIR_PDI_SHIFT))&GPIO_PDIR_PDI_MASK)

PDI - Port Data Input 0b00000000000000000000000000000000..Pin logic level is logic 0, or is not configured for use by digital function. 0b00000000000000000000000000000001..Pin logic level is logic 1.

◆ GPIO_PDIR_PDI [3/6]

#define GPIO_PDIR_PDI ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)

PDI - Port Data Input 0b00000000000000000000000000000000..Pin logic level is logic 0, or is not configured for use by digital function. 0b00000000000000000000000000000001..Pin logic level is logic 1.

◆ GPIO_PDIR_PDI [4/6]

#define GPIO_PDIR_PDI ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)

PDI - Port Data Input 0b00000000000000000000000000000000..Pin logic level is logic 0, or is not configured for use by digital function. 0b00000000000000000000000000000001..Pin logic level is logic 1.

◆ GPIO_PDIR_PDI [5/6]

#define GPIO_PDIR_PDI ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)

PDI - Port Data Input 0b00000000000000000000000000000000..Pin logic level is logic 0, or is not configured for use by digital function. 0b00000000000000000000000000000001..Pin logic level is logic 1.

◆ GPIO_PDIR_PDI [6/6]

#define GPIO_PDIR_PDI ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDIR_PDI_SHIFT)) & GPIO_PDIR_PDI_MASK)

PDI - Port Data Input 0b00000000000000000000000000000000..Pin logic level is logic 0, or is not configured for use by digital function. 0b00000000000000000000000000000001..Pin logic level is logic 1.

◆ GPIO_PDOR_PDO [1/6]

#define GPIO_PDOR_PDO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)

PDO - Port Data Output 0b00000000000000000000000000000000..Logic level 0 is driven on pin, provided pin is configured for general-purpose output. 0b00000000000000000000000000000001..Logic level 1 is driven on pin, provided pin is configured for general-purpose output.

◆ GPIO_PDOR_PDO [2/6]

#define GPIO_PDOR_PDO ( x)    (((uint32_t)(((uint32_t)(x))<<GPIO_PDOR_PDO_SHIFT))&GPIO_PDOR_PDO_MASK)

PDO - Port Data Output 0b00000000000000000000000000000000..Logic level 0 is driven on pin, provided pin is configured for general-purpose output. 0b00000000000000000000000000000001..Logic level 1 is driven on pin, provided pin is configured for general-purpose output.

◆ GPIO_PDOR_PDO [3/6]

#define GPIO_PDOR_PDO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)

PDO - Port Data Output 0b00000000000000000000000000000000..Logic level 0 is driven on pin, provided pin is configured for general-purpose output. 0b00000000000000000000000000000001..Logic level 1 is driven on pin, provided pin is configured for general-purpose output.

◆ GPIO_PDOR_PDO [4/6]

#define GPIO_PDOR_PDO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)

PDO - Port Data Output 0b00000000000000000000000000000000..Logic level 0 is driven on pin, provided pin is configured for general-purpose output. 0b00000000000000000000000000000001..Logic level 1 is driven on pin, provided pin is configured for general-purpose output.

◆ GPIO_PDOR_PDO [5/6]

#define GPIO_PDOR_PDO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)

PDO - Port Data Output 0b00000000000000000000000000000000..Logic level 0 is driven on pin, provided pin is configured for general-purpose output. 0b00000000000000000000000000000001..Logic level 1 is driven on pin, provided pin is configured for general-purpose output.

◆ GPIO_PDOR_PDO [6/6]

#define GPIO_PDOR_PDO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PDOR_PDO_SHIFT)) & GPIO_PDOR_PDO_MASK)

PDO - Port Data Output 0b00000000000000000000000000000000..Logic level 0 is driven on pin, provided pin is configured for general-purpose output. 0b00000000000000000000000000000001..Logic level 1 is driven on pin, provided pin is configured for general-purpose output.

◆ GPIO_PSOR_PTSO [1/6]

#define GPIO_PSOR_PTSO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)

PTSO - Port Set Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to logic 1.

◆ GPIO_PSOR_PTSO [2/6]

#define GPIO_PSOR_PTSO ( x)    (((uint32_t)(((uint32_t)(x))<<GPIO_PSOR_PTSO_SHIFT))&GPIO_PSOR_PTSO_MASK)

PTSO - Port Set Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to logic 1.

◆ GPIO_PSOR_PTSO [3/6]

#define GPIO_PSOR_PTSO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)

PTSO - Port Set Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to logic 1.

◆ GPIO_PSOR_PTSO [4/6]

#define GPIO_PSOR_PTSO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)

PTSO - Port Set Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to logic 1.

◆ GPIO_PSOR_PTSO [5/6]

#define GPIO_PSOR_PTSO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)

PTSO - Port Set Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to logic 1.

◆ GPIO_PSOR_PTSO [6/6]

#define GPIO_PSOR_PTSO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PSOR_PTSO_SHIFT)) & GPIO_PSOR_PTSO_MASK)

PTSO - Port Set Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to logic 1.

◆ GPIO_PTOR_PTTO [1/6]

#define GPIO_PTOR_PTTO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)

PTTO - Port Toggle Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to the inverse of its existing logic state.

◆ GPIO_PTOR_PTTO [2/6]

#define GPIO_PTOR_PTTO ( x)    (((uint32_t)(((uint32_t)(x))<<GPIO_PTOR_PTTO_SHIFT))&GPIO_PTOR_PTTO_MASK)

PTTO - Port Toggle Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to the inverse of its existing logic state.

◆ GPIO_PTOR_PTTO [3/6]

#define GPIO_PTOR_PTTO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)

PTTO - Port Toggle Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to the inverse of its existing logic state.

◆ GPIO_PTOR_PTTO [4/6]

#define GPIO_PTOR_PTTO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)

PTTO - Port Toggle Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to the inverse of its existing logic state.

◆ GPIO_PTOR_PTTO [5/6]

#define GPIO_PTOR_PTTO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)

PTTO - Port Toggle Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to the inverse of its existing logic state.

◆ GPIO_PTOR_PTTO [6/6]

#define GPIO_PTOR_PTTO ( x)    (((uint32_t)(((uint32_t)(x)) << GPIO_PTOR_PTTO_SHIFT)) & GPIO_PTOR_PTTO_MASK)

PTTO - Port Toggle Output 0b00000000000000000000000000000000..Corresponding bit in PDORn does not change. 0b00000000000000000000000000000001..Corresponding bit in PDORn is set to the inverse of its existing logic state.

◆ GPIOA

#define GPIOA   ((GPIO_Type *)GPIOA_BASE)

Peripheral GPIOA base pointer

◆ GPIOA_BASE

#define GPIOA_BASE   (0x400FF000u)

Peripheral GPIOA base address

◆ GPIOB

#define GPIOB   ((GPIO_Type *)GPIOB_BASE)

Peripheral GPIOB base pointer

◆ GPIOB_BASE

#define GPIOB_BASE   (0x400FF040u)

Peripheral GPIOB base address

◆ GPIOC

#define GPIOC   ((GPIO_Type *)GPIOC_BASE)

Peripheral GPIOC base pointer

◆ GPIOC_BASE

#define GPIOC_BASE   (0x400FF080u)

Peripheral GPIOC base address

◆ GPIOD

#define GPIOD   ((GPIO_Type *)GPIOD_BASE)

Peripheral GPIOD base pointer

◆ GPIOD_BASE

#define GPIOD_BASE   (0x400FF0C0u)

Peripheral GPIOD base address

◆ GPIOE

#define GPIOE   ((GPIO_Type *)GPIOE_BASE)

Peripheral GPIOE base pointer

◆ GPIOE_BASE

#define GPIOE_BASE   (0x400FF100u)

Peripheral GPIOE base address