T-EMU  2
The Terma Emulator
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Serial.h
Go to the documentation of this file.
1 #ifndef TEMU_BUS_SERIAL_H
2 #define TEMU_BUS_SERIAL_H
3 
5 #include <stdint.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
12 typedef struct temu_SerialIface {
14  void (*write)(void *Obj, uint8_t Data);
15 
17  void (*cts)(void *Obj);
19 
20 OBJSYS_OBJ_TYPE(temu_Serial);
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 
26 #endif /* ! TEMU_BUS_SERIAL_H */
#define OBJSYS_OBJ_TYPE(N)
Definition: Objsys.h:74
void(* cts)(void *Obj)
Clear to send. Experimental.
Definition: Serial.h:17
void(* write)(void *Obj, uint8_t Data)
This function will be called when data is written on the serial bus.
Definition: Serial.h:14
Serial communications interface.
Definition: Serial.h:12
struct temu_SerialIface temu_SerialIface
Serial communications interface.