wiki:news:02jan2015
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:news:02jan2015 [2015/05/14 15:45] – pmueller | wiki:news:02jan2015 [2015/11/28 14:50] – [Discussion] pmueller | ||
---|---|---|---|
Line 189: | Line 189: | ||
Listing 4: The main routine waiting in low power mode until events are available. Then these events are forwarded to the state machine handlers. | Listing 4: The main routine waiting in low power mode until events are available. Then these events are forwarded to the state machine handlers. | ||
+ | ===== How to treat with longer lasting tasks ===== | ||
+ | Execution time for handling events should be as short as possible. Longer lasting tasks should be split into chunks. Take the temperature measurement as an example. The temperature sensor TMP100 requires about 320ms conversion time according to the data sheet. The uC shouldn' | ||
+ | |||
+ | Another example is the wake-up procedure of the radio. After finishing low-power mode it takes a while before it is ready. Readiness is signalled via a transition of the RTS pin from high to low. After switching on the radio in state '' | ||
===== Object Diagram ===== | ===== Object Diagram ===== | ||
The software design | The software design | ||
Line 217: | Line 221: | ||
~~DISCUSSION|Leave your comments~~ | ~~DISCUSSION|Leave your comments~~ | ||
+ | {{tag> |
wiki/news/02jan2015.txt · Last modified: 2023/03/12 17:50 by webmin