BV SDIO: add SDIO mode
This commit is contained in:
parent
f371217492
commit
4c828bb399
@ -44,6 +44,7 @@
|
||||
#include "busvoodoo_onewire.h" // BusVoodoo 1-wire mode
|
||||
#include "busvoodoo_rs232.h" // BusVoodoo RS-232 mode
|
||||
#include "busvoodoo_rs485.h" // BusVoodoo RS-485/422 mode
|
||||
#include "busvoodoo_sdio.h" // BusVoodoo SDIO mode
|
||||
|
||||
/** all supported BusVoodoo modes */
|
||||
static const struct busvoodoo_mode_t* busvoodoo_modes[] = {
|
||||
@ -54,6 +55,7 @@ static const struct busvoodoo_mode_t* busvoodoo_modes[] = {
|
||||
&busvoodoo_onewire_mode,
|
||||
&busvoodoo_rs232_mode,
|
||||
&busvoodoo_rs485_mode,
|
||||
&busvoodoo_sdio_mode,
|
||||
};
|
||||
|
||||
/** current BusVoodoo mode */
|
||||
|
1124
lib/busvoodoo_sdio.c
Normal file
1124
lib/busvoodoo_sdio.c
Normal file
File diff suppressed because it is too large
Load Diff
23
lib/busvoodoo_sdio.h
Normal file
23
lib/busvoodoo_sdio.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
/** BusVoodoo SDIO (MMC/eMMC) mode
|
||||
* @file
|
||||
* @author King Kévin <kingkevin@cuvoodoo.info>
|
||||
* @date 2018
|
||||
* @note peripherals used: SDIO
|
||||
*/
|
||||
|
||||
/** SDIO mode interface definition */
|
||||
extern const struct busvoodoo_mode_t busvoodoo_sdio_mode;
|
Loading…
Reference in New Issue
Block a user