Initialize ADC.
int32_t adc_sync_init( struct adc_sync_descriptor *const descr, void *const hw, void *const func )
This function initializes the given ADC descriptor. It checks if the given hardware is not initialized and if the given hardware is permitted to be initialized.
Type: struct adc_sync_descriptor Struct *const
An ADC descriptor to initialize
Type: void *const
The pointer to hardware instance
Type: void *const
The pointer to a set of functions pointers
Type: int32_t
Initialization status.