NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
sdcard.h File Reference

SD card driver. More...

#include <stdint.h>

Go to the source code of this file.

Functions

int sdcard_setup (void)
 
int sdcard_stream_get (uint32_t *rdata)
 

Detailed Description

SD card driver.

Function Documentation

◆ sdcard_setup()

int sdcard_setup ( void )

Setup SD card.

Returns
0 if success, !=0 if error

◆ sdcard_stream_get()

int sdcard_stream_get ( uint32_t * rdata)

Read stream word from SD card.

Parameters
[in,out]rdataPointer for returned data (uint32_t).
Returns
0 if success, !=0 if error