Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
arch independent SDIO API More...
Go to the source code of this file.
Functions | |
bool | sdio_connect (void) |
Connect a SD card on SDIO peripheral. More... | |
bool | sdio_disconnect (void) |
Disconnect a SD card on SDIO peripheral. More... | |
bool | is_card_inserted (void) |
Check if a SD card is inserted. More... | |
arch independent SDIO API
Definition in file sdio.h.
bool is_card_inserted | ( | void | ) |
Check if a SD card is inserted.
Definition at line 97 of file sdio_arch.c.
bool sdio_connect | ( | void | ) |
Connect a SD card on SDIO peripheral.
Definition at line 46 of file sdio_arch.c.
References cnxState, CONNECT, FALSE, GPIOC, GPIOC_SDIO_CK, GPIOC_SDIO_D0, GPIOC_SDIO_D1, GPIOC_SDIO_D2, GPIOC_SDIO_D3, GPIOD, GPIOD_SDIO_CMD, and TRUE.
Referenced by sdLogInit(), and thdUsbStorage().
bool sdio_disconnect | ( | void | ) |
Disconnect a SD card on SDIO peripheral.
Definition at line 85 of file sdio_arch.c.
References cnxState, FALSE, STOP, and TRUE.
Referenced by sdLogInit(), and thdUsbStorage().