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

## Functions
error_status_t | ll_cgc_deinit (void)
| De-initialize CGC registers (Registers restored to their default values). More...
error_status_t | ll_cgc_init (ll_cgc_init_t *p_cgc_init)
| Initialize CGC registers according to the specified. More...
void | ll_cgc_struct_init (ll_cgc_init_t *p_cgc_init)
| Set each field of a ll_cgc_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_cgc_deinit()

error_status_t ll_cgc_deinit | ( | void |  | ) |

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

Return values

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

## ◆ ll_cgc_init()

error_status_t ll_cgc_init | ( | ll_cgc_init_t * | p_cgc_init | ) |

Initialize CGC registers according to the specified.

parameters in p_cgc_init.

Parameters

  p_cgc_init | Pointer to a ll_cgc_init_t structure that contains the configuration information for the specified CGC register.

Return values

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

## ◆ ll_cgc_struct_init()

void ll_cgc_struct_init | ( | ll_cgc_init_t * | p_cgc_init | ) |

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

Parameters

  p_cgc_init | Pointer to a ll_cgc_init_t structure whose fields will be set to default values.

Return values

  None |