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

## Functions
error_status_t | ll_hmac_deinit (hmac_regs_t *HMACx)
| De-initialize HMAC registers (Registers restored to their default values). More...
error_status_t | ll_hmac_init (hmac_regs_t *HMACx, ll_hmac_init_t *p_hmac_init)
| Initialize HMAC registers according to the specified parameters in p_hmac_init. More...
void | ll_hmac_struct_init (ll_hmac_init_t *p_hmac_init)
| Set each field of a ll_hmac_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_hmac_deinit()

error_status_t ll_hmac_deinit | ( | hmac_regs_t * | HMACx | ) |

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

Parameters

  HMACx | HMAC Instance

Return values

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

## ◆ ll_hmac_init()

error_status_t ll_hmac_init | ( | hmac_regs_t * | HMACx,
|  | ll_hmac_init_t * | p_hmac_init
| ) |  |

Initialize HMAC registers according to the specified parameters in p_hmac_init.

Parameters

  HMACx | HMAC Instance
  p_hmac_init | Pointer to a ll_hmac_init_t structure that contains the configuration information for the specified HMAC peripheral.

Return values

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

## ◆ ll_hmac_struct_init()

void ll_hmac_struct_init | ( | ll_hmac_init_t * | p_hmac_init | ) |

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

Parameters

  p_hmac_init | Pointer to a ll_hmac_init_t structure whose fields will be set to default values.

Return values

  None |