Modules | Macros
GPIO Private Macros
Peripheral Driver » LL Driver » GPIO » Defines

## Modules
| Resistor Enable
| Resistor Type

## Macros
#define | LL_GPIO_GET_RESISTOR_POS(__GPIOx__) (((__GPIOx__) == GPIO0) ? 0 : 16)
| Get the starting position of the specified GPIO instance in related pull-up/pull-down register. More...
#define | LL_GPIO_GET_REG_MUX_CTRL_0_7(__GPIOx__) (((__GPIOx__) == GPIO0) ? &(MCU_SUB->DPAD_MUX_CTL0_7) : &(MCU_SUB->DPAD_MUX_CTL16_23))
| Get mux control register address of specified GPIO instance. More...
#define | LL_GPIO_GET_REG_MUX_CTRL_8_15(__GPIOx__) (((__GPIOx__) == GPIO0) ? &(MCU_SUB->DPAD_MUX_CTL8_15) : &(MCU_SUB->DPAD_MUX_CTL24_31))
| Get mux control register address of specified GPIO instance. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_GPIO_GET_REG_MUX_CTRL_0_7

#define LL_GPIO_GET_REG_MUX_CTRL_0_7 | ( |  | __GPIOx__ | ) | (((__GPIOx__) == GPIO0) ? &(MCU_SUB->DPAD_MUX_CTL0_7) : &(MCU_SUB->DPAD_MUX_CTL16_23))

Get mux control register address of specified GPIO instance.

Parameters

  <strong>GPIOx</strong> | This parameter can be one of the following values: GPIO0 GPIO1

Return values

  none |

Definition at line 249 of file gr55xx_ll_gpio.h.

## ◆ LL_GPIO_GET_REG_MUX_CTRL_8_15

#define LL_GPIO_GET_REG_MUX_CTRL_8_15 | ( |  | __GPIOx__ | ) | (((__GPIOx__) == GPIO0) ? &(MCU_SUB->DPAD_MUX_CTL8_15) : &(MCU_SUB->DPAD_MUX_CTL24_31))

Get mux control register address of specified GPIO instance.

Parameters

  <strong>GPIOx</strong> | This parameter can be one of the following values: GPIO0 GPIO1

Return values

  none |

Definition at line 258 of file gr55xx_ll_gpio.h.

## ◆ LL_GPIO_GET_RESISTOR_POS

#define LL_GPIO_GET_RESISTOR_POS | ( |  | __GPIOx__ | ) | (((__GPIOx__) == GPIO0) ? 0 : 16)

Get the starting position of the specified GPIO instance in related pull-up/pull-down register.

Parameters

  <strong>GPIOx</strong> | This parameter can be one of the following values: GPIO0 GPIO1

Return values

  none |

Definition at line 241 of file gr55xx_ll_gpio.h.