Hardware Abstraction Layer (HAL)

General Description

TRNG specific return codes.

Macros

#define CYHAL_TRNG_RSLT_ERR_BAD_ARGUMENT    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_TRNG, 0))
 An invalid argument was passed to a function.
 
#define CYHAL_TRNG_RSLT_ERR_HW    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_TRNG, 1))
 Hardware error in the crypto block. More...
 

Macro Definition Documentation

◆ CYHAL_TRNG_RSLT_ERR_HW

Hardware error in the crypto block.

This will only occur if the Ring oscillators in the TRNG generator are explicitly disabled during TRNG generation.