PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
setTimeout.c
1 /*
2  * @file setTimeout.c
3  *
4  * @author Andy Lindsay
5  *
6  * @version 0.85
7  *
8  * @copyright Copyright (C) Parallax, Inc. 2012. See end of file for
9  * terms of use (MIT License).
10  *
11  * @brief setTimeout function source, see simpletools.h for documentation.
12  *
13  * @detail Please submit bug reports, suggestions, and improvements to
14  * this code to editor@parallax.com.
15  */
16 
17 #include "simpletools.h" // simpletools function prototypes
18 
19 void set_io_timeout(long clockTicks) // setTimeout function definition
20 {
21  st_timeout = clockTicks;
22 }
23 
st_timeout
int st_timeout
Clock ticks in a time increment used by pulse_in, pulse_out, and rc_time. Default value is the number...
Definition: timeTicks.c:25
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
set_io_timeout
void set_io_timeout(long clockTicks)
Sets the timeout value for the following timed I/O functions: pulse_in, rc_time.
Definition: setTimeout.c:19