Function trng_enable_callback()

Enables callback.

void trng_enable_callback(
		struct trng_module *const module,
		enum trng_callback callback_type)

Enables the callback function registered by trng_register_callback. The callback function will be called from the interrupt handler when the conditions for the callback type are met.

Table 1. Parameters
Data direction Parameter name Description

[in]

module

Pointer to TRNG software instance struct

[in]

callback_type

Callback type given by an enum