Numworks Epsilon  1.4.1
Graphing Calculator Operating System
sd_card.h
Go to the documentation of this file.
1 #ifndef ION_DEVICE_SD_CARD_H
2 #define ION_DEVICE_SD_CARD_H
3 
4 extern "C" {
5 #include <stdint.h>
6 }
7 
8 namespace Ion {
9 namespace SDCard {
10 namespace Device {
11 
12 /* Pin | Role | Mode | Function
13  * -----+-------------------+-----------------------+----------
14  * PA8 | SDIO D1 | Alternate Function 12 | SDIO_D1
15  * PB4 | SDIO D0 | Alternate Function 12 | SDIO_D0
16  * PB5 | SDIO D3 | Alternate Function 12 | SDIO_D3
17  * PB15 | SDIO CLK | Alternate Function 12 | SDIO_CK
18  * PC10 | SDIO D2 | Alternate Function 12 | SDIO_D2
19  * PD2 | SDIO CMD | Alternate Function 12 | SDIO_CMD
20  */
21 
22 void init();
23 void initGPIO();
24 
25 void initCard();
26 
27 void sendCommand(uint32_t cmd, uint32_t arg);
28 
29 }
30 }
31 }
32 
33 #endif
void sendCommand(uint32_t cmd, uint32_t arg)
Definition: sd_card.cpp:53
unsigned int uint32_t
Definition: stdint.h:6
Definition: backlight.h:6