74790c8033
The original code hard-coded card detection to the low when card is inserted and high when not. This might not be true on every board because it depends on the slot and wiring used. The second reason is because it is also possible to detect card with D3 pin pull-up when the slot does not provide dedicated card detection switch. This introduces new argument to the sam_hsmci_initialize to allow invert of card detection pin. It also applies this invert to existing boards as that was the state up to this point. |
||
---|---|---|
.. | ||
include | ||
scripts | ||
src | ||
tools | ||
.gitignore | ||
Kconfig | ||
Makefile |