Detach a device
#include <mmc/sdio.h> #define DCMD_SDIO_DETACH_DEVICE __DIOT (_DCMD_MISC, 0x13, int)
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening the device |
| dcmd | DCMD_SDIO_DETACH_DEVICE |
| dev_data_ptr | A pointer to an int |
| n_bytes | sizeof(int) |
| dev_info_ptr | NULL |
This command detaches a device.
The function number for the device that you want to detach.
None.