/* Registers a callback. 
Registers a callback function which is implemented by the user. */
void pdm_register_callback(struct pdm_instance *const dev_inst, pdm_callback_t callback, enum pdm_callback_type type)
/* Registers a callback. 
Registers a callback function which is implemented by the user. */
void pdm_register_callback(struct pdm_instance *const dev_inst, pdm_callback_t callback, enum pdm_callback_type type)
{
	Assert(dev_inst);
	Assert(callback);
	if (type < PDM_CALLBACK_N) {
		dev_inst->callbacks[type] = callback;
	}
}