45214 Parallax Inc, 45214 Datasheet - Page 87

no-image

45214

Manufacturer Part Number
45214
Description
PROGRAMMER SX-KEY USB
Manufacturer
Parallax Inc
Type
In-System Programmerr
Datasheet

Specifications of 45214

Contents
Programmer Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
SX MCUs
For Use With
70002PAR - GUIDE PROG THE SX MICRO -DAUBACH45111 - MANUAL FOR SX-KEY/BLITZ VER. 2.028138 - BOARD DEV PROFESSIONAL
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
Q4044550
10 SX Special Features and Coding Tips
10.1 Introduction
The SX chip offers many configurable features. This chapter explains how to use many of these features,
offers coding tips and demonstrates most topics with sample code. All examples are written for the
SX20/28 chips and may need modification for SX48/52 chips.
10.2 Port Configuration and Usage
There are many configuration options for each of the ports on the SX chip as shown in Table 19 – Port
Configuration Options, below. The following sections explain how to use the various port
configuration options.
To set these functions, a special form of the MOV instruction, called the port configuration instruction,
is used to modify the port configuration registers. The syntax of this instruction is:
By default, the port configuration instruction writes to the port direction registers, called the tristate
registers. To write to other registers, the MODE register must be preset with a specific value. Table 20 –
MODE Register Settings lists these values. See chapter 15.4.1 – MODE Register for more information.
MOV
* Port C not available on SX20, Port D and E only available on SX48/52 devices.
Schmitt-Trigger
Edge-Interrupts
Input/Output
CMOS/TTL
Comparator
Pull-Ups
!port, src
Type
Table 19 - Port Configuration Options
10 SX Special Features and Coding Tips
Port A
X
X
X
Three Pins
Port B
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 87
X
X
X
X
X
Port C*
X
X
X
X
Port D*
X
X
X
X
Port E*
X
X
X
X

Related parts for 45214