We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d553b commit c88fed2Copy full SHA for c88fed2
sdc/sdc.h
@@ -0,0 +1,27 @@
1
+// Uncomment to get console logging
2
+#define USE_LOGGING
3
+
4
+#include "../defines.h"
5
+#include "../logger.h"
6
7
+#include "resource.h"
8
+#include "cloud9.h"
9
10
+// Return values for status register
11
+#define STA_BUSY 0x01
12
+#define STA_READY 0x02
13
+#define STA_HWERROR 0x04
14
+#define STA_CRCERROR 0x08
15
+#define STA_NOTFOUND 0x10
16
+#define STA_DELETED 0x20
17
+#define STA_WPROTECT 0x40
18
+#define STA_FAIL 0x80
19
20
+// Single byte file attributes for File info records
21
+#define ATTR_NORM 0x00
22
+#define ATTR_RDONLY 0x01
23
+#define ATTR_HIDDEN 0x02
24
+#define ATTR_SDF 0x04
25
+#define ATTR_DIR 0x10
26
+#define ATTR_INVALID -1 //not 0xFF because byte is signed
27
0 commit comments