Documentation for “Zerocat Dev Kit”
Generated on: Tue, 03 Dec 2024 15:24:37 +0100
Repository: git://zerocat.org/zerocat/projects/zerocat-dev-kit.git
Version: 2117b7b4b
Branch: master
Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor. Version 1.00.78 Compiling... ../../firmware/src/time.spin Done. Program size is 72 bytes TYPE: 43 VALUE: 0000017D (00000000) NAME: SPIN_OVERHEAD TYPE: 53 VALUE: 00000101 (00000004) NAME: SLEEP TYPE: 53 VALUE: 00000102 (00000004) NAME: SLEEP_MS TYPE: 53 VALUE: 00000103 (00000004) NAME: SLEEP_CYCLES 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_CYCLES Distilled longs: 0 OBJ bytes: 107 _CLKMODE: 00 _CLKFREQ: 00B71B00 0000- 00 00 38 00 38 00 04 00 10 00 00 00 1D 00 00 00 ..8.8........... 0010- 2E 00 00 00 35 C0 64 F4 39 01 7D E4 3F 91 EC 23 ....5.d.9.}.?..# 0020- 32 35 C0 39 03 E8 F6 64 F4 39 01 7D E4 3F 91 EC 25.9...d.9.}.?.. 0030- 23 32 64 39 01 7D E4 3F 91 EC 23 32 41 53 50 49 #2d9.}.?..#2ASPI 0040- 4E 5F 4F 56 45 52 48 45 41 44 10 7D 01 00 00 53 N_OVERHEAD.}...S 0050- 4C 45 45 50 01 53 4C 45 45 50 5F 4D 53 01 53 4C LEEP.SLEEP_MS.SL 0060- 45 45 50 5F 43 59 43 4C 45 53 01 EEP_CYCLES. ______________________________________________________________________________ ********************************************************* File starts here *** Zerocat Dev Kit --- Put the fun back into hardware development! Copyright (C) 2023 Kai Mertens File time.spin --- Provide some handy timing methods. This file is part of Zerocat Dev Kit. See end of file for terms of use. ****************************************************************************** Object "../../firmware/src/time" Interface: PUB sleep(number_of_seconds) PUB sleep_ms(number_of_milliseconds) PUB sleep_cycles(number_of_cycles) Program: 14 Longs Variable: 0 Longs # Objects # Constants SPIN Interpreter Overhead, 381 Cycles: SPIN_OVERHEAD # Functions _____________________________ PUB sleep(number_of_seconds) Sleep some seconds. _____________________________________ PUB sleep_ms(number_of_milliseconds) Sleep some milliseconds. ___________________________________ PUB sleep_cycles(number_of_cycles) Sleep some cycles. ****************************************************************************** Terms of Use: Zerocat Dev Kit 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 Dev Kit 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 Dev Kit. If not, see <http://www.gnu.org/licenses/>. ************************************************************** End of File ***