1.2.26.5 1.4.27.5 1.6.26.5 1.8.23.4 1.9.24.5 1.25.24.4 1.26.21.4 1.27.24.4 1.28.26.4 1.32.30.5 1.34.24.4 1.38.26.5 1.39.22.5 1.40.25.5 1.41.22.4 1.42.21.4 TRNG_CALLBACK Typedef
C
typedef void (*TRNG_CALLBACK)( uint32_t random, uintptr_t context);
Summary
Defines the data type and function signature for the TRNG peripheral callback function.
Description
This data type defines the function signature for the TRNG peripheral callback function. The TRNG peripheral will call back the client's function with this signature when the random data is ready to be read.
Precondition
TRNG_CallbackRegister must have been called to set the function to be called.
Parameters
Param | Description |
---|---|
random | The generated 32-bit random number that will be passed via callback. |
context | Allows the caller to provide a context value (usually a pointer to the callers context for multi-instance clients). |
Returns
None.