45181 Parallax Inc, 45181 Datasheet - Page 173

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.4.2 Mode register (SX48/52)
Similar to the SX20/28, instructions like mov !ra, w are used to access the control registers with the
MODE register previously set to a value to select the correct register type. Table 33 - SX48/52 Mode
Register, shows the possible values for the MODE register. The gray areas are undefined.
$0b
$0d
$1b
$1d
Abbreviations: T1CPH, T2CPH: Timer 1/2 capture, high byte. T1CPL, T2CPL: Timer 1/2 capture, low byte.
T1R1CMH, T2R1CMH: Timer 1/2 register R1, high byte. T1R1CML, T2R1CML: Timer 1/2 register R1, low
byte. T1R2CMH, T2R2CMH: Timer 1/2 register R2, high byte. T1R2CML, T2R2CML: Timer 1/2 register R2,
low byte.
$00
$01
$02
$03
$04
$05
$06
$07
$08
$09
$0a
$0c
$0e
$10
$11
$12
$13
$14
$15
$16
$17
$18
$19
$1a
$1c
$1e
$0f
$1f
m
write TRIS_A
write LVL_A
read TRIS_A
write PLP_A
read LVL_A
read PLP_A
mov !ra, w
exchange WKPND_B
exchange WKPND_B
SX48/52 MODE (m) Register and mov !r?, w
exchange CMP_B
exchange CMP_B
write T1R2CMH
write T1R1CMH
write T1R2CML
write T1R1CML
read T1R2CMH
read T1R1CMH
write WKEN_B
write WKEN_B
read T1R2CML
read T1R1CML
write WKED_B
write WKED_B
write T1CNTA
write T1CNTB
read T1CNTA
read T1CNTB
write TRIS_B
clear Timer 1
write LVL_B
read T1CPH
read TRIS_B
write PLP_B
read LVL_B
read T1CPL
read PLP_B
mov !rb, w
write ST_B
read ST_B
Table 33 - SX48/52 Mode Register
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 173
write T2R2CMH
write T2R1CMH
write T2R2CML
write T2R1CML
read T2R2CMH
read T2R1CMH
read T2R2CML
read T2R1CML
write T2CNTA
write T2CNTB
read T2CNTA
read T2CNTB
write TRIS_C
clear Timer 2
write LVL_C
read TRIS_C
write PLP_C
read T2CPH
read LVL_C
read PLP_C
write ST_C
mov !rc, w
read T2PL
read ST_C
15 Appendix E: SX Data Sheet
write TRIS_D
write LVL_D
read TRIS_D
write PLP_D
read LVL_D
read PLP_D
write ST_D
mov !rd, w
read ST_D
write TRIS_E
write LVL_E
read TRIS_E
write PLP_E
read LVL_E
read PLP_E
mov !re, w
write ST_E
read ST_E

Related parts for 45181