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

## Functions
void | ll_i2c_deinit (i2c_regs_t *I2Cx)
| De-initialize I2C registers (Registers restored to their default values). More...
void | ll_i2c_init (i2c_regs_t *I2Cx, ll_i2c_init_t *p_i2c_init)
| Initialize I2C registers according to the specified parameters in p_i2c_init. More...
void | ll_i2c_struct_init (ll_i2c_init_t *p_i2c_init)
| Set each field of a ll_i2c_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_i2c_deinit()

void ll_i2c_deinit | ( | i2c_regs_t * | I2Cx | ) |

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

Parameters

  I2Cx | I2C instance

Return values

  None |

## ◆ ll_i2c_init()

void ll_i2c_init | ( | i2c_regs_t * | I2Cx,
|  | ll_i2c_init_t * | p_i2c_init
| ) |  |

Initialize I2C registers according to the specified parameters in p_i2c_init.

Parameters

  I2Cx | I2C instance
  p_i2c_init | Pointer to a ll_i2c_init_t structure that contains the configuration information for the specified I2C peripheral.

Return values

  None |

## ◆ ll_i2c_struct_init()

void ll_i2c_struct_init | ( | ll_i2c_init_t * | p_i2c_init | ) |

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

Parameters

  p_i2c_init | Pointer to a ll_i2c_init_t structure whose fields will be set to default values.

Return values

  None |