|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Macros | |
| #define | CHECK(condition) |
Functions | |
| static void | test_command_frames (void) |
| static void | test_r1 (void) |
| static void | test_r7 (void) |
| static void | test_cid (void) |
| int | main (void) |
| #define CHECK | ( | condition | ) |
Definition at line 7 of file test_sd_spi.c.
Referenced by test_cid(), test_command_frames(), test_r1(), and test_r7().
| int main | ( | void | ) |
Definition at line 77 of file test_sd_spi.c.
References test_cid(), test_command_frames(), test_r1(), and test_r7().
|
static |
Definition at line 57 of file test_sd_spi.c.
References CHECK, and sd_cid_ok().
Referenced by main().
|
static |
Definition at line 17 of file test_sd_spi.c.
References CHECK, frame(), SD_ACMD41_HCS, SD_ACMD41_SD_SEND_OP_COND, SD_CMD0_GO_IDLE, SD_CMD10_SEND_CID, SD_CMD55_APP_CMD, SD_CMD58_READ_OCR, SD_CMD8_ARG, SD_CMD8_SEND_IF_COND, and sd_command_frame().
Referenced by main().
|
static |
Definition at line 41 of file test_sd_spi.c.
References CHECK, sd_is_r1(), SD_R1_IDLE, and SD_R1_ILLEGAL_COMMAND.
Referenced by main().
|
static |
Definition at line 48 of file test_sd_spi.c.
References CHECK, and sd_r7_ok().
Referenced by main().