We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.