Functions
I2S_M Initialization and de-initialization functions
Peripheral Driver » LL Driver » I2S » Functions
Collaboration diagram for I2S_M Initialization and de-initialization functions:

## Functions
error_status_t | ll_i2s_deinit (i2s_regs_t *I2Sx)
| De-initialize I2S registers (Registers restored to their default values). More...
error_status_t | ll_i2s_init (i2s_regs_t *I2Sx, ll_i2s_init_t *p_i2s_init)
| Initialize I2S_M registers according to the specified parameters in p_i2s_init. More...
void | ll_i2s_struct_init (ll_i2s_init_t *p_i2s_init)
| Set each field of a ll_i2s_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_i2s_deinit()

error_status_t ll_i2s_deinit | ( | i2s_regs_t * | I2Sx | ) |

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

Parameters

  I2Sx | I2S instance

Return values

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

## ◆ ll_i2s_init()

error_status_t ll_i2s_init | ( | i2s_regs_t * | I2Sx,
|  | ll_i2s_init_t * | p_i2s_init
| ) |  |

Initialize I2S_M registers according to the specified parameters in p_i2s_init.

Parameters

  I2Sx | I2S instance
  p_i2s_init | Pointer to a ll_i2s_init_t structure that contains the configuration information for the specified I2S_M peripheral.

Return values

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

## ◆ ll_i2s_struct_init()

void ll_i2s_struct_init | ( | ll_i2s_init_t * | p_i2s_init | ) |

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

Parameters

  p_i2s_init | Pointer to a ll_i2s_init_t structure whose fields will be set to default values.

Return values

  None |