distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
spis.hpp
Go to the documentation of this file.
1 
12 #ifndef SOURCE_CHIP_STM32_PERIPHERALS_SPIV1_INCLUDE_DISTORTOS_CHIP_SPIS_HPP_
13 #define SOURCE_CHIP_STM32_PERIPHERALS_SPIV1_INCLUDE_DISTORTOS_CHIP_SPIS_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 namespace chip
21 {
22 
23 class ChipSpiMasterLowLevel;
24 
25 /*---------------------------------------------------------------------------------------------------------------------+
26 | global objects
27 +---------------------------------------------------------------------------------------------------------------------*/
28 
29 #ifdef CONFIG_CHIP_STM32_SPIV1_SPI1_ENABLE
30 
32 extern ChipSpiMasterLowLevel spi1;
33 
34 #endif // def CONFIG_CHIP_STM32_SPIV1_SPI1_ENABLE
35 
36 #ifdef CONFIG_CHIP_STM32_SPIV1_SPI2_ENABLE
37 
39 extern ChipSpiMasterLowLevel spi2;
40 
41 #endif // def CONFIG_CHIP_STM32_SPIV1_SPI2_ENABLE
42 
43 #ifdef CONFIG_CHIP_STM32_SPIV1_SPI3_ENABLE
44 
46 extern ChipSpiMasterLowLevel spi3;
47 
48 #endif // def CONFIG_CHIP_STM32_SPIV1_SPI3_ENABLE
49 
50 #ifdef CONFIG_CHIP_STM32_SPIV1_SPI4_ENABLE
51 
53 extern ChipSpiMasterLowLevel spi4;
54 
55 #endif // def CONFIG_CHIP_STM32_SPIV1_SPI4_ENABLE
56 
57 #ifdef CONFIG_CHIP_STM32_SPIV1_SPI5_ENABLE
58 
60 extern ChipSpiMasterLowLevel spi5;
61 
62 #endif // def CONFIG_CHIP_STM32_SPIV1_SPI5_ENABLE
63 
64 #ifdef CONFIG_CHIP_STM32_SPIV1_SPI6_ENABLE
65 
67 extern ChipSpiMasterLowLevel spi6;
68 
69 #endif // def CONFIG_CHIP_STM32_SPIV1_SPI6_ENABLE
70 
71 } // namespace chip
72 
73 } // namespace distortos
74 
75 #endif // SOURCE_CHIP_STM32_PERIPHERALS_SPIV1_INCLUDE_DISTORTOS_CHIP_SPIS_HPP_
distortos configuration
Top-level namespace of distortos project.