distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
uarts.hpp
Go to the documentation of this file.
1 
12 #ifndef SOURCE_CHIP_STM32_PERIPHERALS_USARTV1_INCLUDE_DISTORTOS_CHIP_UARTS_HPP_
13 #define SOURCE_CHIP_STM32_PERIPHERALS_USARTV1_INCLUDE_DISTORTOS_CHIP_UARTS_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 namespace chip
21 {
22 
23 class ChipUartLowLevel;
24 
25 /*---------------------------------------------------------------------------------------------------------------------+
26 | global objects
27 +---------------------------------------------------------------------------------------------------------------------*/
28 
29 #ifdef CONFIG_CHIP_STM32_USARTV1_USART1_ENABLE
30 
32 extern ChipUartLowLevel usart1;
33 
34 #endif // def CONFIG_CHIP_STM32_USARTV1_USART1_ENABLE
35 
36 #ifdef CONFIG_CHIP_STM32_USARTV1_USART2_ENABLE
37 
39 extern ChipUartLowLevel usart2;
40 
41 #endif // def CONFIG_CHIP_STM32_USARTV1_USART2_ENABLE
42 
43 #ifdef CONFIG_CHIP_STM32_USARTV1_USART3_ENABLE
44 
46 extern ChipUartLowLevel usart3;
47 
48 #endif // def CONFIG_CHIP_STM32_USARTV1_USART3_ENABLE
49 
50 #ifdef CONFIG_CHIP_STM32_USARTV1_UART4_ENABLE
51 
53 extern ChipUartLowLevel uart4;
54 
55 #endif // def CONFIG_CHIP_STM32_USARTV1_UART4_ENABLE
56 
57 #ifdef CONFIG_CHIP_STM32_USARTV1_UART5_ENABLE
58 
60 extern ChipUartLowLevel uart5;
61 
62 #endif // def CONFIG_CHIP_STM32_USARTV1_UART5_ENABLE
63 
64 #ifdef CONFIG_CHIP_STM32_USARTV1_USART6_ENABLE
65 
67 extern ChipUartLowLevel usart6;
68 
69 #endif // def CONFIG_CHIP_STM32_USARTV1_USART6_ENABLE
70 
71 #ifdef CONFIG_CHIP_STM32_USARTV1_UART7_ENABLE
72 
74 extern ChipUartLowLevel uart7;
75 
76 #endif // def CONFIG_CHIP_STM32_USARTV1_UART7_ENABLE
77 
78 #ifdef CONFIG_CHIP_STM32_USARTV1_UART8_ENABLE
79 
81 extern ChipUartLowLevel uart8;
82 
83 #endif // def CONFIG_CHIP_STM32_USARTV1_UART8_ENABLE
84 
85 #ifdef CONFIG_CHIP_STM32_USARTV1_UART9_ENABLE
86 
88 extern ChipUartLowLevel uart9;
89 
90 #endif // def CONFIG_CHIP_STM32_USARTV1_UART9_ENABLE
91 
92 #ifdef CONFIG_CHIP_STM32_USARTV1_UART10_ENABLE
93 
95 extern ChipUartLowLevel uart10;
96 
97 #endif // def CONFIG_CHIP_STM32_USARTV1_UART10_ENABLE
98 
99 } // namespace chip
100 
101 } // namespace distortos
102 
103 #endif // SOURCE_CHIP_STM32_PERIPHERALS_USARTV1_INCLUDE_DISTORTOS_CHIP_UARTS_HPP_
distortos configuration
Top-level namespace of distortos project.