Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
sdio.h File Reference

arch independent SDIO API More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct SDCDriver SDCDriver
 

Functions

bool sdio_connect (SDCDriver *sdc)
 Connect a SD card on SDIO peripheral. More...
 
bool sdio_disconnect (SDCDriver *sdc)
 Disconnect a SD card on SDIO peripheral. More...
 
bool is_card_inserted (SDCDriver *sdc)
 Check if a SD card is inserted. More...
 

Detailed Description

arch independent SDIO API

Definition in file sdio.h.

Typedef Documentation

◆ SDCDriver

typedef struct SDCDriver SDCDriver

Definition at line 1 of file sdio.h.

Function Documentation

◆ is_card_inserted()

bool is_card_inserted ( SDCDriver sdc)

Check if a SD card is inserted.

Definition at line 86 of file sdio_arch.c.

◆ sdio_connect()

bool sdio_connect ( SDCDriver sdc)

Connect a SD card on SDIO peripheral.

Definition at line 48 of file sdio_arch.c.

References cnxState, CONNECT, FALSE, and TRUE.

Referenced by sdLogInit(), and thdUsbStorage().

+ Here is the caller graph for this function:

◆ sdio_disconnect()

bool sdio_disconnect ( SDCDriver sdc)

Disconnect a SD card on SDIO peripheral.

Definition at line 73 of file sdio_arch.c.

References cnxState, FALSE, STOP, and TRUE.

Referenced by sdLogInit().

+ Here is the caller graph for this function: