mci_os_deselect_device

Deselect a device by an assigned slot.

int32_t mci_os_deselect_device(
    struct mci_os_desc *const desc,
    uint8_t slot
)

Parameters

desc

Type: struct mci_os_desc Struct *const

Mci os descriptor

slot

Type: uint8_t

Selected slot

Returns

Type: int32_t

Operation status.

0

Success.

<0

Error code.