This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

An MMC or SD card detection


How can we know that an MMC or SD card was inserted/removed to/from MMC or SD Socket/adapter in MCB2300 board with LPC2368 controller?

An MMC or SD socket/adapter allows cards to be removed and inserted at any time. It is a

common feature for such sockets to contain a contact allowing the presence of cards to be

detected. On some hardware that signal is routed to the processor allowing it to be sampled,

usually connected as a GPIO signal or to an interrupt line (or to a GPIO interrupt if

available).

In such cases, the MMC/SD bus driver layer informed by the hardware MMC/SD bus driver of

whether cards are present or not, and if possible, can be informed by an event callback that

a card has just been inserted or removed.

0