thermferm/delay.h

Wed, 03 Apr 2024 12:14:45 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 03 Apr 2024 12:14:45 +0200
changeset 656
ca47c742a25d
parent 652
16d3d4b58b5b
permissions
-rw-r--r--

One-wire thread is now the first to start. The devices_detect() function now uses the detected one-wire linked list instead of scan the sysfs. Base code for ds2413 added in the state table, needs rework.

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