Fixed pin names for SD Card; added more comments to I/O init
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding//Debug/makefile=UTF-8
|
||||
encoding//Debug/objects.mk=UTF-8
|
||||
encoding//Debug/sources.mk=UTF-8
|
||||
encoding//Debug/subdir_rules.mk=UTF-8
|
||||
encoding//Debug/subdir_vars.mk=UTF-8
|
||||
|
||||
@@ -74,8 +74,8 @@ static inline void delay(void)
|
||||
|
||||
// PORT 3
|
||||
#define CAN0_SCLK 0x01
|
||||
#define SDC_SIMO 0x02
|
||||
#define SDC_SOMI 0x04
|
||||
#define SDC_MOSI 0x02
|
||||
#define SDC_MISO 0x04
|
||||
#define SDC_SCLK 0x08
|
||||
#define CAN0_MOSI 0x10
|
||||
#define CAN0_MISO 0x20
|
||||
|
||||
Reference in New Issue
Block a user