45181 Parallax Inc, 45181 Datasheet - Page 172

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
15 Appendix E: SX Data Sheet
Table 32 – SX20/28 Mode Register, below, defines the allowed mode values and their functions for the
SX20/28 devices. The gray areas are undefined at this time.
Page 172 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
$07…$00
mov
mov
mov
mov
mov
mov
$0D
$0C
$0A
$0F
$0E
$0B
$09
$08
m
write TRIS_A
write LVL_A
write PLP_A
M, #$0F
!RA, #$03
M, #$0E
!RA, #$01
M, #$0D
!RA, #$02
mov !ra, w
SX20/28 MODE (m) Register and mov !r?, W
Table 32 – SX20/28 Mode Register
; Set up MODE for Direction configuration
; RA3:RA2 = Outputs, RA1:RA0 = Inputs
; Set up MODE for Pull-Up configuration
; RA3:RA1 = Normal, RA0 = Pull-up enabled
; Set up MODE for TTL/CMOS configuration
; RA3, RA2, RA0 = TTL, RA1 = CMOS
swap W with WKPEN_B
swap W with COMP_B
write WKEN_B
write WKED_B
write TRIS_B
write LVL_B
write PLP_B
mov !rb, w
write ST_B
write TRIS_C
write LVL_C
write PLP_C
write ST_C
mov !rc, w

Related parts for 45181