Functions
SPIS Initialization and de-initialization functions
Peripheral Driver » LL Driver » SPI » Functions

## Functions
error_status_t | ll_spis_deinit (spi_regs_t *SPIx)
| De-initialize SSI registers (Registers restored to their default values). More...
error_status_t | ll_spis_init (spi_regs_t *SPIx, ll_spis_init_t *p_spi_init)
| Initialize SSI registers according to the specified parameters in p_spi_init. More...
void | ll_spis_struct_init (ll_spis_init_t *p_spi_init)
| Set each field of a ll_spis_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_spis_deinit()

error_status_t ll_spis_deinit | ( | spi_regs_t * | SPIx | ) |

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

Parameters

  SPIx | SSI instance

Return values

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

## ◆ ll_spis_init()

error_status_t ll_spis_init | ( | spi_regs_t * | SPIx,
|  | ll_spis_init_t * | p_spi_init
| ) |  |

Initialize SSI registers according to the specified parameters in p_spi_init.

Parameters

  SPIx | SSI instance
  p_spi_init | Pointer to a ll_spis_init_t structure that contains the configuration information for the specified SPIS peripheral.

Return values

  An | error_status_t enumeration value: SUCCESS: SSI registers are initialized according to p_spi_init content ERROR: Problem occurred during SPI Registers initialization

## ◆ ll_spis_struct_init()

void ll_spis_struct_init | ( | ll_spis_init_t * | p_spi_init | ) |

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

Parameters

  p_spi_init | Pointer to a ll_spis_init_t structure whose fields will be set to default values.

Return values

  None |