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) |
#define GPIO_BASE_ADDRS { GPIOA_BASE, GPIOB_BASE, GPIOC_BASE, GPIOD_BASE, GPIOE_BASE } |
Array initializer of GPIO peripheral base addresses
Array initializer of GPIO peripheral base pointers
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#define GPIOA ((GPIO_Type *)GPIOA_BASE) |
Peripheral GPIOA base pointer
#define GPIOA_BASE (0x400FF000u) |
Peripheral GPIOA base address
#define GPIOB ((GPIO_Type *)GPIOB_BASE) |
Peripheral GPIOB base pointer
#define GPIOB_BASE (0x400FF040u) |
Peripheral GPIOB base address
#define GPIOC ((GPIO_Type *)GPIOC_BASE) |
Peripheral GPIOC base pointer
#define GPIOC_BASE (0x400FF080u) |
Peripheral GPIOC base address
#define GPIOD ((GPIO_Type *)GPIOD_BASE) |
Peripheral GPIOD base pointer
#define GPIOD_BASE (0x400FF0C0u) |
Peripheral GPIOD base address
#define GPIOE ((GPIO_Type *)GPIOE_BASE) |
Peripheral GPIOE base pointer
#define GPIOE_BASE (0x400FF100u) |
Peripheral GPIOE base address