nuttx/boards/arm/samv7
Karel Kočí 74790c8033 boards/samv7/hsmci: add option to invert card detection pin
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.
2023-02-19 10:36:04 +08:00
..
common boards/samv7/hsmci: add option to invert card detection pin 2023-02-19 10:36:04 +08:00
same70-qmtech boards/samv7/hsmci: add option to invert card detection pin 2023-02-19 10:36:04 +08:00
same70-xplained boards/samv7/hsmci: add option to invert card detection pin 2023-02-19 10:36:04 +08:00
samv71-xult boards/samv7/hsmci: add option to invert card detection pin 2023-02-19 10:36:04 +08:00