Akihiro Nakabayashi
/
MainBoard2018_Auto_Master_A_new
huhuh
Fork of MainBoard2018_Auto_Master_A by
Communication/RS485/RS485.h@6:10e22bc327ce, 2018-10-01 (annotated)
- Committer:
- 7ka884
- Date:
- Mon Oct 01 14:01:03 2018 +0000
- Revision:
- 6:10e22bc327ce
- Parent:
- 0:669ef71cba68
huhuhu
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 |