[En-Nut-Discussion] SPI bus MMC driver with gpio based card detect / write protect support

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Jun 7 15:52:22 CEST 2011


Hi all,

just for info:

I added a new glue-logic MMC driver to use with SPI busses. You'll find
it in nut/dev/spi_mmc_gpio.c

It's based on Haralds NPL mmc bus driver (spi_mmc_npl.c) but implements
GPIO based card detect and write protec detection.

It's configurable (SPI clock speed, chip select as and GPIO pins for CD
and WP) through the configurator.

The device struct is devSpiMmcGpio and the device name MMC0

Bye,

Ole


-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list