大季 矢花
/
MB2019_main_alltimes
aa
Communication/RS485/RS485.h@0:669ef71cba68, 2018-09-08 (annotated)
- Committer:
- t_yamamoto
- Date:
- Sat Sep 08 06:05:22 2018 +0000
- Revision:
- 0:669ef71cba68
- Child:
- 20:eae8c84f318c
???????
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 { |
t_yamamoto | 0:669ef71cba68 | 5 | #define SELECTBIT_PIN PB_7 |
t_yamamoto | 0:669ef71cba68 | 6 | |
t_yamamoto | 0:669ef71cba68 | 7 | #define RS485UART_TX PA_9 |
t_yamamoto | 0:669ef71cba68 | 8 | #define RS485UART_RX PA_10 |
t_yamamoto | 0:669ef71cba68 | 9 | |
t_yamamoto | 0:669ef71cba68 | 10 | class RS485 { |
t_yamamoto | 0:669ef71cba68 | 11 | public: |
t_yamamoto | 0:669ef71cba68 | 12 | static void Initialize(); |
t_yamamoto | 0:669ef71cba68 | 13 | }; |
t_yamamoto | 0:669ef71cba68 | 14 | } |
t_yamamoto | 0:669ef71cba68 | 15 | |
t_yamamoto | 0:669ef71cba68 | 16 | #endif |