Hardware Abstraction Layer (HAL)
TRNG (True Random Number Generator)

General Description

Initialization polynomial values for the True Random Number Generator.

Functions

__STATIC_INLINE cy_rslt_t mtb_hal_trng_setup (mtb_hal_trng_t *obj, const mtb_hal_trng_configurator_t *config)
 Sets up a HAL instance to use the specified hardware resource. More...
 

Function Documentation

◆ mtb_hal_trng_setup()

__STATIC_INLINE cy_rslt_t mtb_hal_trng_setup ( mtb_hal_trng_t *  obj,
const mtb_hal_trng_configurator_t config 
)

Sets up a HAL instance to use the specified hardware resource.

This hardware resource must have already been configured via the PDL.

Parameters
[out]objThe HAL driver instance object. The caller must allocate the memory for this object, but the HAL will initialize its contents
[in]configConfiguration struct generated by the device configurator
Returns
the status of the HAL setup