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

## Functions
error_status_t | ll_timer_deinit (timer_regs_t *TIMERx)
| De-initialize TIMER registers (Registers restored to their default values). More...
error_status_t | ll_timer_init (timer_regs_t *TIMERx, ll_timer_init_t *p_timer_init)
| Initialize TIMER registers according to the specified parameters in TIMER_InitStruct. More...
void | ll_timer_struct_init (ll_timer_init_t *p_timer_init)
| Set each field of a ll_timer_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_timer_deinit()

error_status_t ll_timer_deinit | ( | timer_regs_t * | TIMERx | ) |

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

Parameters

  TIMERx | TIMER instance

Return values

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

## ◆ ll_timer_init()

error_status_t ll_timer_init | ( | timer_regs_t * | TIMERx,
|  | ll_timer_init_t * | p_timer_init
| ) |  |

Initialize TIMER registers according to the specified parameters in TIMER_InitStruct.

Parameters

  TIMERx | TIMER instance
  p_timer_init | Pointer to a ll_timer_init_t structure that contains the configuration information for the specified TIM peripheral.

Return values

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

## ◆ ll_timer_struct_init()

void ll_timer_struct_init | ( | ll_timer_init_t * | p_timer_init | ) |

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

Parameters

  p_timer_init | Pointer to a ll_timer_init_t structure whose fields will be set to default values.

Return values

  None |