45181 Parallax Inc, 45181 Datasheet - Page 87

SX TECH TOOL KIT NO POWER

45181

Manufacturer Part Number
45181
Description
SX TECH TOOL KIT NO POWER
Manufacturer
Parallax Inc
Series
SXr
Type
Microcontrollerr
Datasheet

Specifications of 45181

Contents
SX Book, SX Key, SX Tech Board, Samples, Resonators, Cable and Manual
Product
Microcontroller Basic Stamps
Operating Supply Voltage
5 V
For Use With/related Products
SX MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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 45181