大季 矢花
/
MB2019_main_alltimes
aa
Communication/RS485/LineHub/LineHub.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 |
---|---|---|---|
M_souta | 21:e3b58d675c1c | 1 | #ifndef LINEHUB_H_ |
M_souta | 21:e3b58d675c1c | 2 | #define LINEHUB_H_ |
M_souta | 21:e3b58d675c1c | 3 | |
M_souta | 21:e3b58d675c1c | 4 | #include "mbed.h" |
M_souta | 21:e3b58d675c1c | 5 | #include "../../../CommonLibraries/RingBuffer/RingBuffer.h" |
M_souta | 21:e3b58d675c1c | 6 | |
M_souta | 21:e3b58d675c1c | 7 | extern int lineData[8]; |
M_souta | 21:e3b58d675c1c | 8 | |
M_souta | 21:e3b58d675c1c | 9 | extern RINGBUFFER::RingBuffer RS485LineBuffer; |
M_souta | 21:e3b58d675c1c | 10 | |
M_souta | 21:e3b58d675c1c | 11 | namespace LINEHUB { |
M_souta | 21:e3b58d675c1c | 12 | |
M_souta | 21:e3b58d675c1c | 13 | class LineHub { |
M_souta | 21:e3b58d675c1c | 14 | public: |
M_souta | 21:e3b58d675c1c | 15 | static void Initialize(); |
M_souta | 21:e3b58d675c1c | 16 | static void Update(); |
M_souta | 21:e3b58d675c1c | 17 | static int GetPara(int num); |
M_souta | 21:e3b58d675c1c | 18 | }; |
M_souta | 21:e3b58d675c1c | 19 | } |
M_souta | 21:e3b58d675c1c | 20 | |
M_souta | 21:e3b58d675c1c | 21 | #endif //LINEHUB_H_ |