PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
TextDevices
libsimpletext
endChars.c
1
#include <ctype.h>
2
#include "
simpletext.h
"
3
4
/*
5
void set_endChars(text_t *text, char *endCharArray)
6
{
7
memcpy(text->ec, endCharArray, 3);
8
}
9
10
void set_endCharSequence(text_t *text, char *endCharSeqArray)
11
{
12
memcpy(text->ecs, endCharSeqArray, 3);
13
}
14
*/
15
16
void
set_endChars(
text_t
*text,
char
cA,
char
cB)
17
{
18
text->
ecA
= cA;
19
text->ecB = cB;
20
}
21
22
void
set_endCharSequence(
text_t
*text,
char
cA,
char
cB)
23
{
24
text->ecsA = cA;
25
text->ecsB = cB;
26
}
27
simpletext.h
This library provides a collection of functions for communicating with text devices such as SimpleIDE...
text_struct
Structure that contains data used by simple text device libraries.
Definition:
simpletext.h:81
text_struct::ecA
volatile char ecA
Definition:
simpletext.h:97
Generated on Fri May 20 2022 16:48:05 for PropWare by
1.8.17