Functions
Initialization and de-initialization functions
Peripheral Driver » LL Driver » GPIO » Functions

## Functions
error_status_t | ll_gpio_deinit (gpio_regs_t *GPIOx)
| De-initialize GPIO registers (Registers restored to their default values). More...
error_status_t | ll_gpio_init (gpio_regs_t *GPIOx, ll_gpio_init_t *p_gpio_init)
| Initialize GPIO registers according to the specified parameters in p_gpio_init. More...
void | ll_gpio_struct_init (ll_gpio_init_t *p_gpio_init)
| Set each field of a ll_gpio_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_gpio_deinit()

error_status_t ll_gpio_deinit | ( | gpio_regs_t * | GPIOx | ) |

De-initialize GPIO registers (Registers restored to their default values).

Parameters

  GPIOx | GPIO instance.

Return values

  An | error_status_t enumeration value: SUCCESS: GPIO registers are de-initialized ERROR: GPIO registers are not de-initialized

## ◆ ll_gpio_init()

error_status_t ll_gpio_init | ( | gpio_regs_t * | GPIOx,
|  | ll_gpio_init_t * | p_gpio_init
| ) |  |

Initialize GPIO registers according to the specified parameters in p_gpio_init.

Parameters

  GPIOx | GPIO instance.
  p_gpio_init | Pointer to a ll_gpio_init_t structure that contains the configuration information for the specified GPIO peripheral.

Return values

  An | error_status_t enumeration value: SUCCESS: GPIO registers are initialized according to p_gpio_init content ERROR: Problem occurred during GPIO Registers initialization

## ◆ ll_gpio_struct_init()

void ll_gpio_struct_init | ( | ll_gpio_init_t * | p_gpio_init | ) |

Set each field of a ll_gpio_init_t type structure to default value.

Parameters

  p_gpio_init | Pointer to a ll_gpio_init_t structure whose fields will be set to default values.

Return values

  None |