Documentation for “Zerocat Chipflasher” as of Sat, 18 Jun 2022 21:45:43 +0200
Repository: git://zerocat.org/zerocat/projects/chipflasher
Version: v0.6.9
Branch: master

../../firmware2/src/pins.spin.txt.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/pins.spin
Done.
Program size is 48 bytes
TYPE: 43   VALUE: 00000000 (00000000)   NAME: PIN_CEN
TYPE: 43   VALUE: 00000001 (00000000)   NAME: PIN_CEN_1
TYPE: 43   VALUE: 00000002 (00000000)   NAME: PIN_MOSI
TYPE: 43   VALUE: 00000003 (00000000)   NAME: PIN_WPN
TYPE: 43   VALUE: 00000004 (00000000)   NAME: PIN_SCLK3
TYPE: 43   VALUE: 00000005 (00000000)   NAME: PIN_SCLK2
TYPE: 43   VALUE: 00000006 (00000000)   NAME: PIN_SCLK1
TYPE: 43   VALUE: 00000007 (00000000)   NAME: PIN_SCLK0
TYPE: 43   VALUE: 00000008 (00000000)   NAME: PIN_MISO
TYPE: 43   VALUE: 00000009 (00000000)   NAME: PIN_PLUGTESTN
TYPE: 43   VALUE: 0000000A (00000000)   NAME: PIN_PNP
TYPE: 43   VALUE: 0000000C (00000000)   NAME: PIN_HOLDN
TYPE: 43   VALUE: 0000000D (00000000)   NAME: LED_YELLOW
TYPE: 43   VALUE: 0000000E (00000000)   NAME: LED_ORANGE
TYPE: 43   VALUE: 0000000F (00000000)   NAME: LED_GREEN
TYPE: 43   VALUE: 00000010 (00000000)   NAME: RST_DISABLE
TYPE: 43   VALUE: 0000001F (00000000)   NAME: PIN_RX
TYPE: 43   VALUE: 0000001E (00000000)   NAME: PIN_TX
TYPE: 43   VALUE: 00002000 (00000000)   NAME: BIT_LED_YELLOW
TYPE: 43   VALUE: 00004000 (00000000)   NAME: BIT_LED_ORANGE
TYPE: 43   VALUE: 00008000 (00000000)   NAME: BIT_LED_GREEN
TYPE: 43   VALUE: 00000400 (00000000)   NAME: BIT_PNP
TYPE: 43   VALUE: 00000010 (00000000)   NAME: BIT_SCLK3
TYPE: 43   VALUE: 00000020 (00000000)   NAME: BIT_SCLK2
TYPE: 43   VALUE: 00000040 (00000000)   NAME: BIT_SCLK1
TYPE: 43   VALUE: 00000080 (00000000)   NAME: BIT_SCLK0
TYPE: 43   VALUE: 00000008 (00000000)   NAME: BIT_WPN
TYPE: 43   VALUE: 00000100 (00000000)   NAME: BIT_MISO
TYPE: 43   VALUE: 00000001 (00000000)   NAME: BIT_CEN
TYPE: 43   VALUE: 00000002 (00000000)   NAME: BIT_CEN_1
TYPE: 43   VALUE: 00001000 (00000000)   NAME: BIT_HOLDN
TYPE: 43   VALUE: 00000004 (00000000)   NAME: BIT_MOSI
TYPE: 43   VALUE: 00000200 (00000000)   NAME: BIT_PLUGTESTN
TYPE: 43   VALUE: 00000003 (00000000)   NAME: MASK_CEN_AVAIL
TYPE: 43   VALUE: 000000F0 (00000000)   NAME: MASK_SCLK_AVAIL
TYPE: 43   VALUE: 000011FF (00000000)   NAME: MASK_SPI_BUS_AVAIL
TYPE: 43   VALUE: 000000F0 (00000000)   NAME: MASK_SCLK_ACTIVE
TYPE: 53   VALUE: 00000101 (00000004)   NAME: HIGH
TYPE: 53   VALUE: 00000102 (00000004)   NAME: LOW
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: PIN_NUMBER
TYPE: 4E   VALUE: 00000004 (00000000)   NAME: PIN_NUMBER

Distilled longs: 0

OBJ bytes: 595

_CLKMODE: 00
_CLKFREQ: 00B71B00

0000- 00 00 20 00 20 00 03 00 0C 00 00 00 15 00 00 00   .. . ...........
0010- 64 3D D4 1C 64 3D D6 1C 32 64 3D D4 18 64 3D D6   d=..d=..2d=..d=.
0020- 1C 32 00 00 23 50 49 4E 5F 43 45 4E 10 00 00 00   .2..#PIN_CEN....
0030- 00 50 49 4E 5F 43 45 4E 5F 31 10 01 00 00 00 50   .PIN_CEN_1.....P
0040- 49 4E 5F 4D 4F 53 49 10 02 00 00 00 50 49 4E 5F   IN_MOSI.....PIN_
0050- 57 50 4E 10 03 00 00 00 50 49 4E 5F 53 43 4C 4B   WPN.....PIN_SCLK
0060- 33 10 04 00 00 00 50 49 4E 5F 53 43 4C 4B 32 10   3.....PIN_SCLK2.
0070- 05 00 00 00 50 49 4E 5F 53 43 4C 4B 31 10 06 00   ....PIN_SCLK1...
0080- 00 00 50 49 4E 5F 53 43 4C 4B 30 10 07 00 00 00   ..PIN_SCLK0.....
0090- 50 49 4E 5F 4D 49 53 4F 10 08 00 00 00 50 49 4E   PIN_MISO.....PIN
00A0- 5F 50 4C 55 47 54 45 53 54 4E 10 09 00 00 00 50   _PLUGTESTN.....P
00B0- 49 4E 5F 50 4E 50 10 0A 00 00 00 50 49 4E 5F 48   IN_PNP.....PIN_H
00C0- 4F 4C 44 4E 10 0C 00 00 00 4C 45 44 5F 59 45 4C   OLDN.....LED_YEL
00D0- 4C 4F 57 10 0D 00 00 00 4C 45 44 5F 4F 52 41 4E   LOW.....LED_ORAN
00E0- 47 45 10 0E 00 00 00 4C 45 44 5F 47 52 45 45 4E   GE.....LED_GREEN
00F0- 10 0F 00 00 00 52 53 54 5F 44 49 53 41 42 4C 45   .....RST_DISABLE
0100- 10 10 00 00 00 50 49 4E 5F 52 58 10 1F 00 00 00   .....PIN_RX.....
0110- 50 49 4E 5F 54 58 10 1E 00 00 00 42 49 54 5F 4C   PIN_TX.....BIT_L
0120- 45 44 5F 59 45 4C 4C 4F 57 10 00 20 00 00 42 49   ED_YELLOW.. ..BI
0130- 54 5F 4C 45 44 5F 4F 52 41 4E 47 45 10 00 40 00   T_LED_ORANGE..@.
0140- 00 42 49 54 5F 4C 45 44 5F 47 52 45 45 4E 10 00   .BIT_LED_GREEN..
0150- 80 00 00 42 49 54 5F 50 4E 50 10 00 04 00 00 42   ...BIT_PNP.....B
0160- 49 54 5F 53 43 4C 4B 33 10 10 00 00 00 42 49 54   IT_SCLK3.....BIT
0170- 5F 53 43 4C 4B 32 10 20 00 00 00 42 49 54 5F 53   _SCLK2. ...BIT_S
0180- 43 4C 4B 31 10 40 00 00 00 42 49 54 5F 53 43 4C   CLK1.@...BIT_SCL
0190- 4B 30 10 80 00 00 00 42 49 54 5F 57 50 4E 10 08   K0.....BIT_WPN..
01A0- 00 00 00 42 49 54 5F 4D 49 53 4F 10 00 01 00 00   ...BIT_MISO.....
01B0- 42 49 54 5F 43 45 4E 10 01 00 00 00 42 49 54 5F   BIT_CEN.....BIT_
01C0- 43 45 4E 5F 31 10 02 00 00 00 42 49 54 5F 48 4F   CEN_1.....BIT_HO
01D0- 4C 44 4E 10 00 10 00 00 42 49 54 5F 4D 4F 53 49   LDN.....BIT_MOSI
01E0- 10 04 00 00 00 42 49 54 5F 50 4C 55 47 54 45 53   .....BIT_PLUGTES
01F0- 54 4E 10 00 02 00 00 4D 41 53 4B 5F 43 45 4E 5F   TN.....MASK_CEN_
0200- 41 56 41 49 4C 10 03 00 00 00 4D 41 53 4B 5F 53   AVAIL.....MASK_S
0210- 43 4C 4B 5F 41 56 41 49 4C 10 F0 00 00 00 4D 41   CLK_AVAIL.....MA
0220- 53 4B 5F 53 50 49 5F 42 55 53 5F 41 56 41 49 4C   SK_SPI_BUS_AVAIL
0230- 10 FF 11 00 00 4D 41 53 4B 5F 53 43 4C 4B 5F 41   .....MASK_SCLK_A
0240- 43 54 49 56 45 10 F0 00 00 00 48 49 47 48 01 4C   CTIVE.....HIGH.L
0250- 4F 57 01                                          OW.

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

Copyright (C) 2020  Kai Mertens 

File pins.spin --- Define Propeller Pins
Compare to: firmware/src/libkick/proppins.h

This file is part of the Zerocat Chipflasher.

See end of file for terms of use.

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

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

PUB  high(pin_number)
PUB  low(pin_number)

Program:  8 Longs
Variable: 0 Longs

CON Block:
Fast Addressable Pins 0..8
Slow Addressable Pins
Bit Values
Bit Masks

_____________________
PUB  high(pin_number)

Set pin high (1).
Direction register bit is configured to output.

____________________
PUB  low(pin_number)

Set pin low (0).
Direction register bit is configured to output.

******************************************************************************
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 ***