大季 矢花
/
MB2019_main_alltimes
aa
Communication/RS485/RS485.h@60:24ebb611f26e, 2019-12-12 (annotated)
- Committer:
- yabahiro
- Date:
- Thu Dec 12 07:16:20 2019 +0000
- Revision:
- 60:24ebb611f26e
- Parent:
- 21:e3b58d675c1c
aa
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
t_yamamoto | 0:669ef71cba68 | 1 | #ifndef RS485_H_ |
t_yamamoto | 0:669ef71cba68 | 2 | #define RS485_H_ |
t_yamamoto | 0:669ef71cba68 | 3 | |
t_yamamoto | 0:669ef71cba68 | 4 | namespace RS485 { |
M_souta | 20:eae8c84f318c | 5 | #define SELECTBIT_T_PIN PB_3 |
M_souta | 21:e3b58d675c1c | 6 | // #define SELECTBIT_R_PIN PA_5 未接続 |
t_yamamoto | 0:669ef71cba68 | 7 | |
t_yamamoto | 0:669ef71cba68 | 8 | #define RS485UART_TX PA_9 |
t_yamamoto | 0:669ef71cba68 | 9 | #define RS485UART_RX PA_10 |
M_souta | 20:eae8c84f318c | 10 | #define RS485LINE_TX PC_10 |
M_souta | 20:eae8c84f318c | 11 | #define RS485LINE_RX PC_11 |
t_yamamoto | 0:669ef71cba68 | 12 | |
t_yamamoto | 0:669ef71cba68 | 13 | class RS485 { |
t_yamamoto | 0:669ef71cba68 | 14 | public: |
t_yamamoto | 0:669ef71cba68 | 15 | static void Initialize(); |
t_yamamoto | 0:669ef71cba68 | 16 | }; |
t_yamamoto | 0:669ef71cba68 | 17 | } |
t_yamamoto | 0:669ef71cba68 | 18 | |
t_yamamoto | 0:669ef71cba68 | 19 | #endif |