Documentation for “Zerocat Chipflasher” as of Sat, 07 Dec 2024 11:41:04 +0100
Repository:
Version: v2.0.5-18-05a6c4fe7
Branch: master

../../firmware2/src/time.spin.connect.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/time.spin
Done.
Program size is 88 bytes
TYPE: 43   VALUE: 0000017D (00000000)   NAME: SPIN_OVERHEAD
TYPE: 43   VALUE: 00000032 (00000000)   NAME: FDS_STOP
TYPE: 43   VALUE: 00000064 (00000000)   NAME: TCOOL_LINE
TYPE: 43   VALUE: 000004B0 (00000000)   NAME: TCOOL_BLOCK
TYPE: 53   VALUE: 00000101 (00000004)   NAME: SLEEP
TYPE: 53   VALUE: 00000102 (00000004)   NAME: SLEEP_MS
TYPE: 53   VALUE: 00000203 (00000004)   NAME: WAIT
TYPE: 53   VALUE: 00000204 (00000004)   NAME: WAIT_MS
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: NUMBER_OF_SECONDS
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: NUMBER_OF_MILLISECONDS
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: NUMBER_OF_SECONDS
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: TIMESTAMP
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: NUMBER_OF_MILLISECONDS
TYPE: 4E   VALUE: 00000008 (00000000)   NAME: TIMESTAMP

Distilled longs: 0

OBJ bytes: 167

_CLKMODE: 00
_CLKFREQ: 00B71B00

0000- 00 00 48 00 48 00 05 00 14 00 00 00 21 00 00 00   ..H.H.......!...
0010- 32 00 00 00 3A 00 00 00 35 C0 64 F4 39 01 7D E4   2...:...5.d.9.}.
0020- 3F 91 EC 23 32 35 C0 39 03 E8 F6 64 F4 39 01 7D   ?..#25.9...d.9.}
0030- E4 3F 91 EC 23 32 35 C0 64 F4 68 EC 23 32 35 C0   .?..#25.d.h.#25.
0040- 39 03 E8 F6 64 F4 68 EC 23 32 00 00 C4 53 50 49   9...d.h.#2...SPI
0050- 4E 5F 4F 56 45 52 48 45 41 44 10 7D 01 00 00 46   N_OVERHEAD.}...F
0060- 44 53 5F 53 54 4F 50 10 32 00 00 00 54 43 4F 4F   DS_STOP.2...TCOO
0070- 4C 5F 4C 49 4E 45 10 64 00 00 00 54 43 4F 4F 4C   L_LINE.d...TCOOL
0080- 5F 42 4C 4F 43 4B 10 B0 04 00 00 53 4C 45 45 50   _BLOCK.....SLEEP
0090- 01 53 4C 45 45 50 5F 4D 53 01 57 41 49 54 02 57   .SLEEP_MS.WAIT.W
00A0- 41 49 54 5F 4D 53 02                              AIT_MS.

______________________________________________________________________________
********************************************************* File starts here ***
Zerocat Chipflasher --- Flash free firmware, kick the Management Engine.

Copyright (C) 2020, 2021, 2022  Kai Mertens 

File time.spin --- provide some handy timing methods

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

******************************************************************************


# Object Summary

Object "../../firmware2/src/time" Interface:

PUB  sleep(number_of_seconds)
PUB  sleep_ms(number_of_milliseconds)
PUB  wait(number_of_seconds, timestamp)
PUB  wait_ms(number_of_milliseconds, timestamp)

Program:  18 Longs
Variable: 0 Longs


# Constants

SPIN Interpreter Overhead

FDS Stop Timing

Cooling Durations


# Functions

_____________________________
PUB  sleep(number_of_seconds)

Sleep some seconds.

_____________________________________
PUB  sleep_ms(number_of_milliseconds)

Sleep some milliseconds.

_______________________________________
PUB  wait(number_of_seconds, timestamp)

Wait some seconds in respect to timestamp.

_______________________________________________
PUB  wait_ms(number_of_milliseconds, timestamp)

Wait some milliseconds in respect to timestamp.


******************************************************************************
Terms of Use:

Zerocat Chipflasher is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

Zerocat Chipflasher is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License along
with Zerocat Chipflasher.  If not, see <http://www.gnu.org/licenses/>.

************************************************************** End of File ***