mci_os_get_bus_width

Get the maximum bus width of a device by a selected slot.

uint8_t mci_os_get_bus_width(
    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: uint8_t

bus width.