PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Public Attributes | List of all members
text_struct Struct Reference

Structure that contains data used by simple text device libraries. More...

#include <Simple-Libraries/Learn/Simple Libraries/TextDevices/libsimpletext/simpletext.h>

+ Collaboration diagram for text_struct:

Public Attributes

int(* rxChar )(struct text_struct *p)
 
int(* txChar )(struct text_struct *p, int ch)
 
int cogid [TERM_COG_LEN]
 
volatile void * devst
 
volatile int terminalEcho
 
volatile char ecA
 
volatile char ecB
 
volatile char ecsA
 
volatile char ecsB
 

Detailed Description

Structure that contains data used by simple text device libraries.

Examples
FdSerial_Demo.c, FullDuplexSerial_Demo.cpp, Hello_Demo.cpp, SimpleText_Demo.c, and Spin2Dat_Demo.cpp.

Definition at line 81 of file simpletext.h.

Member Data Documentation

◆ cogid

int text_struct::cogid[TERM_COG_LEN]

Pointer to text device library's cog variable(s).

Definition at line 88 of file simpletext.h.

◆ devst

volatile void* text_struct::devst

Pointer to text device library's info.

Definition at line 90 of file simpletext.h.

◆ ecA

volatile char text_struct::ecA

List of end characters. End character sequence when an end character is encountered.

Definition at line 97 of file simpletext.h.

◆ rxChar

int(* text_struct::rxChar) (struct text_struct *p)

Pointer to text device library's character receiving function.

Definition at line 84 of file simpletext.h.

◆ terminalEcho

volatile int text_struct::terminalEcho

Echo setting, typically for usage with a terminal.

Definition at line 92 of file simpletext.h.

◆ txChar

int(* text_struct::txChar) (struct text_struct *p, int ch)

Pointer to text device library's character transmitting function.

Definition at line 86 of file simpletext.h.


The documentation for this struct was generated from the following file: