aa

Dependencies:   mbed

Committer:
M_souta
Date:
Tue Aug 27 04:33:08 2019 +0000
Revision:
20:eae8c84f318c
Parent:
0:669ef71cba68
Child:
21:e3b58d675c1c
ttsts

Who changed what in which revision?

UserRevisionLine numberNew 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 20:eae8c84f318c 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