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

## Functions
void | ll_spim_deinit (spi_regs_t *SPIx)
| De-initialize SSI registers (Registers restored to their default values). More...
void | ll_spim_init (spi_regs_t *SPIx, const ll_spim_init_t *p_spi_init)
| Initialize SPIM registers according to the specified parameters in p_spi_init. More...
void | ll_spim_struct_init (ll_spim_init_t *p_spi_init)
| Set each field of a ll_spim_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_spim_deinit()

void ll_spim_deinit | ( | spi_regs_t * | SPIx | ) |

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

Parameters

  SPIx | SSI instance

Return values

  None |

## ◆ ll_spim_init()

void ll_spim_init | ( | spi_regs_t * | SPIx,
|  | const ll_spim_init_t * | p_spi_init
| ) |  |

Initialize SPIM registers according to the specified parameters in p_spi_init.

Parameters

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

Return values

  None |

## ◆ ll_spim_struct_init()

void ll_spim_struct_init | ( | ll_spim_init_t * | p_spi_init | ) |

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

Parameters

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

Return values

  None |