FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/abb+spi/abb_inline.h @ 149:971e84124a6f
gsm-fw/bsp/abb+spi: preening of header files, first pass
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 16 Nov 2013 19:41:30 +0000 |
parents | 63750f70796d |
children | cc0944d35698 |
comparison
equal
deleted
inserted
replaced
148:63750f70796d | 149:971e84124a6f |
---|---|
27 /**********************************************************************************/ | 27 /**********************************************************************************/ |
28 | 28 |
29 #ifndef __ABB_INLINE_H__ | 29 #ifndef __ABB_INLINE_H__ |
30 #define __ABB_INLINE_H__ | 30 #define __ABB_INLINE_H__ |
31 | 31 |
32 #include "l1sw.cfg" | 32 #include "../../include/config.h" |
33 #include "../../include/sys_types.h" | |
33 | 34 |
34 #if (OP_L1_STANDALONE == 0) | 35 #include "spi_drv.h" |
35 #include "main/sys_types.h" | |
36 #else | |
37 #include "sys_types.h" | |
38 #endif | |
39 | |
40 #include "spi/spi_drv.h" | |
41 | 36 |
42 // MACROS | 37 // MACROS |
43 #define ABB_WRITE_REG(reg, data) { \ | 38 #define ABB_WRITE_REG(reg, data) { \ |
44 SPI_WRITE_TX_MSB((data << 6) | reg) \ | 39 SPI_WRITE_TX_MSB((data << 6) | reg) \ |
45 SPI_START_WRITE } | 40 SPI_START_WRITE } |