test
Dependencies: EthernetInterface MODSERIAL mbed-rtos mbed
Fork of UDPEchoServer by
IO.h@8:115dc06a8764, 2018-09-07 (annotated)
- Committer:
- vibe
- Date:
- Fri Sep 07 10:44:11 2018 +0000
- Revision:
- 8:115dc06a8764
- Parent:
- 7:42bc53611fc7
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vibe | 7:42bc53611fc7 | 1 | #ifndef IO_H |
vibe | 7:42bc53611fc7 | 2 | #define IO_H |
vibe | 7:42bc53611fc7 | 3 | |
vibe | 7:42bc53611fc7 | 4 | /* Includes */ |
vibe | 7:42bc53611fc7 | 5 | #include "mbed.h" |
vibe | 7:42bc53611fc7 | 6 | |
vibe | 7:42bc53611fc7 | 7 | /* IO */ |
vibe | 7:42bc53611fc7 | 8 | class IO { |
vibe | 7:42bc53611fc7 | 9 | |
vibe | 7:42bc53611fc7 | 10 | public: |
vibe | 7:42bc53611fc7 | 11 | int Init_I2C_IOs(); // Init I2C Bus |
vibe | 7:42bc53611fc7 | 12 | int WR_Output(int addr,char sr); // WR Output |
vibe | 7:42bc53611fc7 | 13 | int RD_Input(int addr); // RD Input |
vibe | 7:42bc53611fc7 | 14 | void WR_DARegA(int v); // DAC A |
vibe | 7:42bc53611fc7 | 15 | void WR_DARegB(int v); // DAC B |
vibe | 7:42bc53611fc7 | 16 | void GetAnalogValues(); // Onboard AD |
vibe | 7:42bc53611fc7 | 17 | void Save_Parameter(); // Parameter speichern |
vibe | 7:42bc53611fc7 | 18 | void Load_Parameter(); // Parameter lagen |
vibe | 7:42bc53611fc7 | 19 | |
vibe | 7:42bc53611fc7 | 20 | private: |
vibe | 7:42bc53611fc7 | 21 | |
vibe | 7:42bc53611fc7 | 22 | }; |
vibe | 7:42bc53611fc7 | 23 | |
vibe | 7:42bc53611fc7 | 24 | #endif /* IO_H */ |