Speeduino
Loading...
Searching...
No Matches
Macros
comms_sd.h File Reference

Go to the source code of this file.

Macros

#define SD_READWRITE_PAGE   0x11
 
#define SD_READFILE_PAGE   0x14
 
#define SD_RTC_PAGE   0x07
 
#define SD_READ_STAT_ARG1   0x0000
 
#define SD_READ_STAT_ARG2   0x0010
 
#define SD_READ_DIR_ARG1   0x0000
 
#define SD_READ_DIR_ARG2   0x0202
 
#define SD_READ_SEC_ARG1   0x0002
 
#define SD_READ_SEC_ARG2   0x0004
 
#define SD_READ_STRM_ARG1   0x0004
 
#define SD_READ_STRM_ARG2   0x0001
 
#define SD_READ_COMP_ARG1   0x0000
 
#define SD_READ_COMP_ARG2   0x0800
 
#define SD_RTC_READ_ARG1   0x024D
 
#define SD_RTC_READ_ARG2   0x0008
 
#define SD_WRITE_DO_ARG1   0x0000
 
#define SD_WRITE_DO_ARG2   0x0001
 
#define SD_WRITE_DIR_ARG1   0x0001
 
#define SD_WRITE_DIR_ARG2   0x0002
 
#define SD_WRITE_READ_SEC_ARG1   0x0002
 
#define SD_WRITE_READ_SEC_ARG2   0x0004
 
#define SD_WRITE_WRITE_SEC_ARG1   0x0003
 
#define SD_WRITE_WRITE_SEC_ARG2   0x0204
 
#define SD_WRITE_COMP_ARG1   0x0005
 
#define SD_WRITE_COMP_ARG2   0x0008
 
#define SD_ERASEFILE_ARG1   0x0006
 
#define SD_ERASEFILE_ARG2   0x0006
 
#define SD_SPD_TEST_ARG1   0x0007
 
#define SD_SPD_TEST_ARG2   0x0004
 
#define SD_RTC_WRITE_ARG1   0x027E
 
#define SD_RTC_WRITE_ARG2   0x0009
 

Macro Definition Documentation

◆ SD_ERASEFILE_ARG1

#define SD_ERASEFILE_ARG1   0x0006

◆ SD_ERASEFILE_ARG2

#define SD_ERASEFILE_ARG2   0x0006

◆ SD_READ_COMP_ARG1

#define SD_READ_COMP_ARG1   0x0000

◆ SD_READ_COMP_ARG2

#define SD_READ_COMP_ARG2   0x0800

◆ SD_READ_DIR_ARG1

#define SD_READ_DIR_ARG1   0x0000

◆ SD_READ_DIR_ARG2

#define SD_READ_DIR_ARG2   0x0202

◆ SD_READ_SEC_ARG1

#define SD_READ_SEC_ARG1   0x0002

◆ SD_READ_SEC_ARG2

#define SD_READ_SEC_ARG2   0x0004

◆ SD_READ_STAT_ARG1

#define SD_READ_STAT_ARG1   0x0000

◆ SD_READ_STAT_ARG2

#define SD_READ_STAT_ARG2   0x0010

◆ SD_READ_STRM_ARG1

#define SD_READ_STRM_ARG1   0x0004

◆ SD_READ_STRM_ARG2

#define SD_READ_STRM_ARG2   0x0001

◆ SD_READFILE_PAGE

#define SD_READFILE_PAGE   0x14

◆ SD_READWRITE_PAGE

#define SD_READWRITE_PAGE   0x11

◆ SD_RTC_PAGE

#define SD_RTC_PAGE   0x07

◆ SD_RTC_READ_ARG1

#define SD_RTC_READ_ARG1   0x024D

◆ SD_RTC_READ_ARG2

#define SD_RTC_READ_ARG2   0x0008

◆ SD_RTC_WRITE_ARG1

#define SD_RTC_WRITE_ARG1   0x027E

◆ SD_RTC_WRITE_ARG2

#define SD_RTC_WRITE_ARG2   0x0009

◆ SD_SPD_TEST_ARG1

#define SD_SPD_TEST_ARG1   0x0007

◆ SD_SPD_TEST_ARG2

#define SD_SPD_TEST_ARG2   0x0004

◆ SD_WRITE_COMP_ARG1

#define SD_WRITE_COMP_ARG1   0x0005

◆ SD_WRITE_COMP_ARG2

#define SD_WRITE_COMP_ARG2   0x0008

◆ SD_WRITE_DIR_ARG1

#define SD_WRITE_DIR_ARG1   0x0001

◆ SD_WRITE_DIR_ARG2

#define SD_WRITE_DIR_ARG2   0x0002

◆ SD_WRITE_DO_ARG1

#define SD_WRITE_DO_ARG1   0x0000

◆ SD_WRITE_DO_ARG2

#define SD_WRITE_DO_ARG2   0x0001

◆ SD_WRITE_READ_SEC_ARG1

#define SD_WRITE_READ_SEC_ARG1   0x0002

◆ SD_WRITE_READ_SEC_ARG2

#define SD_WRITE_READ_SEC_ARG2   0x0004

◆ SD_WRITE_WRITE_SEC_ARG1

#define SD_WRITE_WRITE_SEC_ARG1   0x0003

◆ SD_WRITE_WRITE_SEC_ARG2

#define SD_WRITE_WRITE_SEC_ARG2   0x0204