crc_sync_init

Initialize CRC.

int32_t crc_sync_init(
    struct crc_sync_descriptor *const descr,
    void *const hw
)

This function initializes the given CRC descriptor. It checks if the given hardware is not initialized and if the given hardware is permitted to be initialized.

Parameters

descr

Type: struct crc_sync_descriptor Struct *const

A CRC descriptor to initialize

hw

Type: void *const

The pointer to hardware instance

Returns

Type: int32_t

Initialization status.