hw functions for the SOLID slow control
Dependents: S_SCTRL_e_test SPItest sscm
Diff: S_SCTRL_SM1_PinDef.h
- Revision:
- 8:fe1477cd1c14
- Parent:
- 0:8d755a0f3ab3
- Child:
- 9:20f21cb7792e
--- a/S_SCTRL_SM1_PinDef.h Mon Sep 15 15:22:28 2014 +0000 +++ b/S_SCTRL_SM1_PinDef.h Tue Sep 16 19:36:21 2014 +0000 @@ -1,9 +1,18 @@ #ifndef S_SCTL_SM1_PINDEF_H #define S_SCTL_SM1_PINDEF_H +/* + * v 1.11 corrected LVDS_MOSI from B1 to E1 + * v 1.12 corrected for LDIR values + -#define MOSI PTB1 + */ + + +#define PINDEF_VER "1.12" + +#define MOSI PTE1 #define MISO PTB8 #define SCLK PTD6 #define TEMP_CSN PTD7 @@ -63,8 +72,8 @@ // direction levels -#define LDIR_OUT 0 -#define LDIR_IN 1 +#define LDIR_OUT 1 +#define LDIR_IN 0 #define RDIR_OUT 0 #define RDIR_IN 1