h6. [[SDIODriver]] h6(. » [[SDIODriver SWI Calls|SWI Calls]] h6((. » [[SDIO_Control]] h6(((. » SDIO_Control 6 h2. SDIO_Control 6 h5. (SWI &59001) |_<^{width:4em}. Entry | | |<^. R0 |<^. 6 (reason code) | |/2<^. R1 |<^. Bits 0 - 7 = slot number | |<^. Bits 8 - 15 = bus number | |_<^{width:4em}. Exit | | |<^. - |<^. - | h4. Use This SWI is used to poll card detection. h4. Re-entrancy This SWI is re-entrant. h4. Notes With hardware that has a functional card detect line, [[SDIODriver]] polls the hardware at regular intervals to determine whether a card is inserted. However, it is possible that if you have an operation ongoing when a card is removed that the operation will return an error before SDIODriver does its polling and has chance to issue [[Service_SDIOUnitDetached]]. Therefore this SWI gives you a mechanism to force an extra poll (and therefore trigger any outstanding service calls) so you can determine whether the error was caused by the card having been removed. h4. See also * [[SDIO_Control]] * [[SDIO_ControllerFeatures]] * [[Service_SDIOUnitDetached]]