nuttx/boards/arm/samv7/common/include
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
..
board_gpio_enc.h samv7/common: add support for GPIO driver based encoder 2022-08-13 01:10:18 +08:00
board_hsmci.h boards/samv7/hsmci: add option to invert card detection pin 2023-02-19 10:36:04 +08:00
board_progmem.h boards/arm/samv7: define MTD progmem partitions at board level 2022-03-19 11:42:10 +08:00
sam_automount.h boards/arm/samv7: move HSMCI interface to common 2022-01-20 01:24:14 +08:00