hw functions for the SOLID slow control
Dependents: S_SCTRL_e_test SPItest sscm
Diff: S_SCTRL_SM1_hwfunct.h
- Revision:
- 2:475caee897ec
- Parent:
- 1:af78e316f889
- Child:
- 3:39671ee1347d
- Child:
- 5:b527df9432c3
diff -r af78e316f889 -r 475caee897ec S_SCTRL_SM1_hwfunct.h --- a/S_SCTRL_SM1_hwfunct.h Sun Sep 07 15:18:23 2014 +0000 +++ b/S_SCTRL_SM1_hwfunct.h Sun Sep 07 15:31:42 2014 +0000 @@ -1,6 +1,11 @@ #ifndef S_SCTRL_SM1_hwfunct_H #define S_SCTRL_SM1_hwfunct_H +typedef unsigned int u32; +typedef unsigned short int u16; +typedef unsigned char u8; + + typedef struct { @@ -8,8 +13,8 @@ DigitalOut* sclk[2]; DigitalOut* direction[2]; DigitalOut* stio_mo[2]; -DigitalOut* csb1_1[2]; -DigitalOut* csb2_1[2]; +DigitalOut* csb1[2]; +DigitalOut* csb2[2];