Modules | Macros
EFUSE Exported Macros
Peripheral Driver » HAL Driver » EFUSE » Defines

## Modules
| EFUSE Error Code
| EFUSE Flags
| EFUSE Loyout Map

## Macros
#define | __HAL_EFUSE_ENABLE_MAIN_BACKUP(__HANDLE__) ll_efuse_enable_main_backup((__HANDLE__)->p_instance)
| Enable the eFuse main or backup. More...
#define | __HAL_EFUSE_DISABLE_MAIN_BACKUP(__HANDLE__) ll_efuse_disable_main_backup((__HANDLE__)->p_instance)
| Disable the eFuse main or backup. More...
#define | __HAL_EFUSE_ENABLE_PGENB(__HANDLE__) ll_efuse_enable_pgenb((__HANDLE__)->p_instance)
| Enable the eFuse PGENB. More...
#define | __HAL_EFUSE_DISABLE_PGENB(__HANDLE__) ll_efuse_disable_pgenb((__HANDLE__)->p_instance)
| Disable the eFuse PGENB. More...
#define | __HAL_EFUSE_GET_FLAG(__HANDLE__, __FLAG__) ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0) ? SET : RESET)
| Check whether the specified eFuse flag is set or not. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __HAL_EFUSE_DISABLE_MAIN_BACKUP

#define __HAL_EFUSE_DISABLE_MAIN_BACKUP | ( |  | __HANDLE__ | ) | ll_efuse_disable_main_backup((__HANDLE__)->p_instance)

Disable the eFuse main or backup.

Parameters

  <strong>HANDLE</strong> | Specifies the eFuse Handle.

Return values

  None. |

Definition at line 258 of file gr55xx_hal_efuse.h.

## ◆ __HAL_EFUSE_DISABLE_PGENB

#define __HAL_EFUSE_DISABLE_PGENB | ( |  | __HANDLE__ | ) | ll_efuse_disable_pgenb((__HANDLE__)->p_instance)

Disable the eFuse PGENB.

Parameters

  <strong>HANDLE</strong> | Specifies the eFuse Handle.

Return values

  None. |

Definition at line 270 of file gr55xx_hal_efuse.h.

## ◆ __HAL_EFUSE_ENABLE_MAIN_BACKUP

#define __HAL_EFUSE_ENABLE_MAIN_BACKUP | ( |  | __HANDLE__ | ) | ll_efuse_enable_main_backup((__HANDLE__)->p_instance)

Enable the eFuse main or backup.

Parameters

  <strong>HANDLE</strong> | Specifies the eFuse Handle.

Return values

  None. |

Definition at line 252 of file gr55xx_hal_efuse.h.

## ◆ __HAL_EFUSE_ENABLE_PGENB

#define __HAL_EFUSE_ENABLE_PGENB | ( |  | __HANDLE__ | ) | ll_efuse_enable_pgenb((__HANDLE__)->p_instance)

Enable the eFuse PGENB.

Parameters

  <strong>HANDLE</strong> | Specifies the eFuse Handle.

Return values

  None. |

Definition at line 264 of file gr55xx_hal_efuse.h.

## ◆ __HAL_EFUSE_GET_FLAG

#define __HAL_EFUSE_GET_FLAG | ( |  | __HANDLE__,
|  |  | __FLAG__
| ) |  | ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0) ? SET : RESET)

Check whether the specified eFuse flag is set or not.

Parameters

  <strong>HANDLE</strong> | specifies the eFuse Handle.
  <strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values: EFUSE_FLAG_WRITE_KEYRAM_BUSY Write keyram operation is in process EFUSE_FLAG_READ_TRIM_DONE Read trim from eFuse has done EFUSE_FLAG_CRC_CHECK_DONE eFuse CRC check done EFUSE_FLAG_CRC_CHECK_SUCCESS CRC check succeeded EFUSE_FLAG_INIT_CHECK_DONE eFuse initial value check done EFUSE_FLAG_INIT_CHECK_SUCCESS eFuse initial value check succeeded EFUSE_FLAG_WRITE_DONE eFuse one word write done EFUSE_FLAG_TEST_DONE Read from eFuse has done in test mode

Return values

  The | new state of FLAG (TRUE or FALSE).

Definition at line 286 of file gr55xx_hal_efuse.h.