h6. [[SDIODriver]] h6(. » [[SDIODriver Service Calls|Service Calls]] h6((. » Service_SDIOUnitAttached h2. Service_SDIOUnitAttached h5. (Service &81042) |_<^{width:4em}. Entry | | |<^. R1 |<^. &81042 (Reason Code) | |/3<^. R2 |<^. Bits 0 - 7 = slot number | |<^. Bits 8 - 15 = bus number | |<^. Bits 16 - 31 => relative card address (RCA)| |/5<^. R3 |<^. Bits 0 - 7 = unit number | |<^. Bits 8-15 = function interface code (FIC) for IO, or 0 for memory (1 = UART, 2 = Bluetooth Type-A etc.) | |<^. Bit 16 set => device is write-protected | |<^. Bit 17 set => MMC (rather than SD/SDIO) device | |<^. Bits 18-31 reserved, 0 | |<^. R4 |<^. Low word of card capacity (for memory cards) | |<^. R5 |<^. High word of card capacity (for memory cards) | |_<^{width:4em}. Exit | | |<^. R1 |<^. 0 to claim, else preserved | h4. Use This service is used to notify the OS that there is a unit attached to the machine. h2. See also * [[Service_SDIOUnitDetached]]