h6. [[SDIODriver]] h6(. » [[SDIODriver SWI Calls|SWI Calls]] h6((. » [[SDIO_Enumerate]] h6(((. » SDIO_Enumerate 0 h2. SDIO_Enumerate 0 h5. (SWI &59002) |_<^{width:4em}. Entry | | |<^. R0 |<^. 0 (reason code: enumerate slots) | |<^. R1 |<^. 0 on first call, or preserved on subsequent calls | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. 0 if no more slots (R2 is not valid in this case), else the value to pass in R1 to next call | |/5<^. R2 |<^. Bits 0 - 7 = slot number | |<^. Bits 8 - 15 = bus number | |<^. Bit 16 set => slot contains only non-removable IO device(s) | |<^. Bit 17 set => slot is removable but has non-functional card detect line | |<^. Bit 18 set => slot contains non-removable memory devices(s) | h4. Use This SWI is used to enable the caller to discover which slots are available. h4. Re-entrancy This SWI is re-entrant. h4. Notes None. h4. See also * [[SDIO_Enumerate]] * [[SDIO_Initialise]]