daad
Dependencies: mbed TrapezoidControl QEI
Communication/RS485/RS485.h@21:1f1e9c585da8, 2019-09-13 (annotated)
- Committer:
- yabahiro
- Date:
- Fri Sep 13 01:36:42 2019 +0000
- Revision:
- 21:1f1e9c585da8
- Parent:
- 20:05080fd09347
qqq
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 { |
yabahiro | 21:1f1e9c585da8 | 5 | #define SELECTBIT_T_PIN PB_3 |
yabahiro | 21:1f1e9c585da8 | 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 |
yabahiro | 21:1f1e9c585da8 | 10 | #define RS485LINE_TX PC_10 |
yabahiro | 21:1f1e9c585da8 | 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 |