ff_diskio_register() function
Register or unregister diskio driver for given drive number. When FATFS library calls one of disk_xxx functions for driver number pdrv, corresponding function in discio_impl for given pdrv will be called.
Arguments
discio_impl
pointer to ff_diskio_impl_t structure with diskio functions or NULL to unregister and free previously registered drive