thermferm/delay.h

Fri, 05 Apr 2024 16:19:39 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 05 Apr 2024 16:19:39 +0200
changeset 660
a28ef4d9afa4
parent 652
16d3d4b58b5b
permissions
-rw-r--r--

Version 0.9.17a1. Revised starting and stopping the threads. Fixed stopping the command server thread. Moved one-wire tempeature sensors resolution correction to the one-wire thread. The devices thread fetches temperatures from the one-wire thread. The one-wire thread does everything for the temperature sensors. The command server uses private sockets. Still, only one session at the same time is handled.

652
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 /**
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2 * @file delay.h
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
3 * @brief Thread friendly delay functions.
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4 */
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
6 #ifndef DELAY_H
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
7 #define DELAY_H
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
8
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
9 void mDelay(unsigned int howLong);
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10 void uDelay(unsigned int howLong);
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11
16d3d4b58b5b Moved all delay functions into a new general file.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
12 #endif

mercurial