Initialize Position Decoder.
int32_t pdec_async_init( struct pdec_async_descriptor *const descr, void *const hw )
This function initializes the given Position Decoder descriptor. It checks if the given hardware is not initialized and if the given hardware is permitted to be initialized.
Type: struct pdec_async_descriptor Struct *const
A Position Decoder descriptor to be initialized
Type: void *const
The pointer to hardware instance
Type: int32_t
Initialization status.
Passed parameters were invalid
The initialization is completed successfully