rand_sync_init

Initialize the Random Number Generator Driver.

int32_t rand_sync_init(
    struct rand_sync_desc *const desc,
    void *const hw
)

Parameters

desc

Type: struct rand_sync_desc Struct *const

Pointer to the device descriptor instance struct

hw

Type: void *const

Pointer to the hardware for device instance

Returns

Type: int32_t

Initialization operation result status, ERR_NONE (0) for OK.