distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
uarts.hpp
Go to the documentation of this file.
1 
15 #ifndef SOURCE_BOARD_ST_STM32F4DISCOVERY_INCLUDE_DISTORTOS_CHIP_UARTS_HPP_
16 #define SOURCE_BOARD_ST_STM32F4DISCOVERY_INCLUDE_DISTORTOS_CHIP_UARTS_HPP_
17 
19 
20 namespace distortos
21 {
22 
23 namespace chip
24 {
25 
26 class ChipUartLowLevel;
27 
28 /*---------------------------------------------------------------------------------------------------------------------+
29 | global objects
30 +---------------------------------------------------------------------------------------------------------------------*/
31 
32 #ifdef DISTORTOS_CHIP_USART1_ENABLE
33 
35 extern ChipUartLowLevel usart1;
36 
37 #endif // def DISTORTOS_CHIP_USART1_ENABLE
38 
39 #ifdef DISTORTOS_CHIP_USART2_ENABLE
40 
42 extern ChipUartLowLevel usart2;
43 
44 #endif // def DISTORTOS_CHIP_USART2_ENABLE
45 
46 #ifdef DISTORTOS_CHIP_USART3_ENABLE
47 
49 extern ChipUartLowLevel usart3;
50 
51 #endif // def DISTORTOS_CHIP_USART3_ENABLE
52 
53 #ifdef DISTORTOS_CHIP_UART4_ENABLE
54 
56 extern ChipUartLowLevel uart4;
57 
58 #endif // def DISTORTOS_CHIP_UART4_ENABLE
59 
60 #ifdef DISTORTOS_CHIP_UART5_ENABLE
61 
63 extern ChipUartLowLevel uart5;
64 
65 #endif // def DISTORTOS_CHIP_UART5_ENABLE
66 
67 #ifdef DISTORTOS_CHIP_USART6_ENABLE
68 
70 extern ChipUartLowLevel usart6;
71 
72 #endif // def DISTORTOS_CHIP_USART6_ENABLE
73 
74 } // namespace chip
75 
76 } // namespace distortos
77 
78 #endif // SOURCE_BOARD_ST_STM32F4DISCOVERY_INCLUDE_DISTORTOS_CHIP_UARTS_HPP_
distortos configuration
Top-level namespace of distortos project.
Definition: buttons.hpp:33