45111 Parallax Inc, 45111 Datasheet - Page 8

MANUAL FOR SX-KEY/BLITZ VER. 2.0

45111

Manufacturer Part Number
45111
Description
MANUAL FOR SX-KEY/BLITZ VER. 2.0
Manufacturer
Parallax Inc
Datasheet

Specifications of 45111

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Parallax microcontroller
For Use With
70002PAR - GUIDE PROG THE SX MICRO -DAUBACH
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Table of Contents
Page 8 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
15.3 Port Configuration Registers .............................................................................................................................167
15.4 Control registers ..................................................................................................................................................171
15.2.2
15.2.3
15.2.4
15.2.5
15.2.6
15.2.7
15.2.8
15.2.9
15.2.10 Direct Addressing................................................................................................................................156
15.2.11 Indirect Addressing.............................................................................................................................160
15.2.12 The Bank Instruction ...........................................................................................................................161
15.2.13 The Jump Instruction ..........................................................................................................................162
15.2.14 Jumping Across Pages.........................................................................................................................163
15.2.15 The Call Instruction.............................................................................................................................163
15.2.16 Calling Across Pages ...........................................................................................................................164
15.2.17 Returning from a subroutine..............................................................................................................164
15.2.18 The Stack...............................................................................................................................................165
15.2.19 The Push ...............................................................................................................................................165
15.2.20 The Pop .................................................................................................................................................166
15.2.21 Stack Overflow.....................................................................................................................................166
15.2.22 Stack Underflow ..................................................................................................................................166
15.2.23 Returns ..................................................................................................................................................166
15.3.1
15.3.2
15.3.3
15.3.4
15.4.1
15.4.2
Read-Modify-Write Considerations ..................................................................................................151
Register Map Structure .......................................................................................................................151
Special Function Registers..................................................................................................................153
IND – The Indirect Register ($00) ......................................................................................................153
Real Time Clock/Counter, WREG ($01)...........................................................................................153
PC – Program Counter ($02) ..............................................................................................................153
STATUS Register ($03)........................................................................................................................154
The FSR – File Select Register ($04) ...................................................................................................155
Port A Registers ...................................................................................................................................167
15.3.1.1 TRIS_A – Data Direction Register......................................................................................167
15.3.1.2 LVL_A - TTL/CMOS Select Register ................................................................................167
15.3.1.3 PLP_A – Pull-Up Resistor Enable Register.......................................................................167
Port B Registers ....................................................................................................................................168
15.3.2.1 TRIS_B – Data Direction Register ......................................................................................168
15.3.2.2 LVL_B - TTL/CMOS Select Register.................................................................................168
15.3.2.3 PLP_B – Pull-Up Resistor Enable Register .......................................................................168
15.3.2.4 ST_B – Schmitt-Trigger Enable Register ...........................................................................169
15.3.2.5 WKEN_B – Wake Up Enable Register...............................................................................169
15.3.2.6 WKED_B – Wake Up Edge Select Register.......................................................................169
15.3.2.7 WKPND_B – MIWU Pending Register .............................................................................169
15.3.2.8 CMP_B – Comparator Enable Register .............................................................................170
Port C Registers....................................................................................................................................170
15.3.3.1 TRIS_C – Data Direction Register ......................................................................................170
15.3.3.2 LVL_C - TTL/CMOS Select Register.................................................................................170
15.3.3.3 PLP_C – Pull-Up Resistor Enable Register .......................................................................171
15.3.3.4 ST_C – Schmitt-Trigger Enable Register...........................................................................171
Port D and E Registers (SX48/52)......................................................................................................171
Mode register (SX20/28).....................................................................................................................171
Mode register (SX48/52).....................................................................................................................173

Related parts for 45111