PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Functions
TRNG (True Random Number Generator)
HAL API Reference » Implementation Specific

## 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] | obj | The HAL driver instance object. The caller must allocate the memory for this object, but the HAL will initialize its contents
  [in] | config | Configuration struct generated by the device configurator

Returns
  the status of the HAL setup