45181 Parallax Inc, 45181 Datasheet - Page 171

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.3.3.3
A bit set to ‘1’ in this register disables the weak pull-up resistor on the corresponding port pin. A bit set
to ‘0’ in this register enables the weak pull-up resistor on the corresponding port pin.
15.3.3.4
A bit set to ‘1’ in this register disables the Schmitt-Trigger input on the corresponding port pin. A bit set
to ‘0’ in this register enables the Schmitt-Trigger input on the corresponding port pin.
15.3.4 Port D and E Registers (SX48/52)
The SX48/52 devices have two additional 8 bit ports, called Port D and Port E. Their configuration
registers are similar to the Port C configuration registers. Please refer to chapter 15.3.3 for the details.
15.4 Control registers
There are three registers that configure the SX: MODE, OPTION, and Fuses. These registers allow the
user to configure the SX in many ways. MODE and OPTION are run-time readable and writable while
Fuses is written to only at program time.
15.4.1 Mode register (SX20/28)
The MODE register (simply called M in SX-Key mnemonics) is a run-time readable and writable register
used to select the configuration registers for port operations.
When a port configuration instruction is executed, such as MOV !RA, #1, the value of the MODE
determines exactly which type of port configuration register will be written to. The right 4 bits in this
register are set to ‘1’ on power up. Below is an example detailing how the MODE register is used.
PLP_C – Pull-Up Resistor Enable Register
ST_C – Schmitt-Trigger Enable Register
RC7 RC6 RC5 RC4 RC3 RC2 RC1 RC0
RC7 RC6 RC5 RC4 RC3 RC2 RC1 RC0
7
7
7
0
6
6
6
0
5
5
5
0
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 171
4
4
4
0
PLP_C
MODE
ST_C
M3
3
3
3
15 Appendix E: SX Data Sheet
M2
2
2
2
M1
1
1
1
M0
0
0
0

Related parts for 45181