|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
SDIO interface using ChibiOS API for Paparazzi. More...
#include "std.h"#include <string.h>#include <ch.h>#include <hal.h>#include "mcu_periph/sdio.h"#include <stdarg.h>#include "mcu_periph/gpio.h"#include <BOARD_CONFIG>
Include dependency graph for sdio_arch.c:Go to the source code of this file.
Enumerations | |
| enum | { STOP , CONNECT } |
Functions | |
| bool | sdio_connect (SDCDriver *sdc) |
| Connect a SD card on SDIO peripheral. | |
| bool | sdio_disconnect (SDCDriver *sdc) |
| Disconnect a SD card on SDIO peripheral. | |
| bool | is_card_inserted (SDCDriver *sdc) |
| Check if a SD card is inserted. | |
Variables | |
| static enum { ... } | cnxState = STOP |
SDIO interface using ChibiOS API for Paparazzi.
Definition in file sdio_arch.c.
| Enumerator | |
|---|---|
| STOP | |
| CONNECT | |
Definition at line 45 of file sdio_arch.c.
Connect a SD card on SDIO peripheral.
Definition at line 48 of file sdio_arch.c.
References cnxState, CONNECT, FALSE, foo, and TRUE.
Referenced by sdLogInit(), and thdUsbStorage().
Here is the caller graph for this function:Disconnect a SD card on SDIO peripheral.
Definition at line 73 of file sdio_arch.c.
References cnxState, FALSE, foo, STOP, and TRUE.
Referenced by sdLogInit().
Here is the caller graph for this function:| enum { ... } cnxState |
Referenced by sdio_connect(), and sdio_disconnect().