ST9291 ST Microelectronics, ST9291 Datasheet - Page 9

no-image

ST9291

Manufacturer Part Number
ST9291
Description
16-48K ROM HCMOS MCU WITH ON SCREEN DISPLAY AND VOLTAGE TUNINGOUTPUT
Manufacturer
ST Microelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST9291-CHI
Manufacturer:
ST
0
Part Number:
ST9291J4B1/EEC
Manufacturer:
ST
0
Part Number:
ST9291J4B1/EEL
Manufacturer:
ST
0
Part Number:
ST9291J4B1/EKH
Manufacturer:
ST
0
Part Number:
ST9291J5B1/EHM
Manufacturer:
ST
0
Part Number:
ST9291J6B1/EBB
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST9291J6B1/EHJ
Manufacturer:
ST
Quantity:
3 000
Part Number:
ST9291J7B1/AIS
Manufacturer:
SGS-THOMSON
Quantity:
4 190
ADDRESS SPACES (Continued)
1.1.2.2 Addressing Registers
All registers in the Register File and pages can be
specified by using a decimal, hex or binary ad-
dress, e.g. R231, RE7h or R11100111b is the
same register.
The registers can be referred to by their hexadeci-
mal group address, so that registers R0-R15 form
group 0, R160-R175 form group A and so on.
Working Register Addresses
The 8-bit register address is formed by 2 nibbles,
for example, for register R195 or RC3h or
R11000011, 1100 specifies the 13th group (i.e.
group C) and 0011 specifies the 3rd register in that
group.
Working registers are addressed by supplying the
least significant nibble in the instruction and adding
it to the most significant nibble found in the Regis-
ter Pointer (R233). Working register addressing is
shown in Figure 1-7.
System Registers
The 16 system registers at addresses R224 to
R239 form Group E.
The system registers are addressable using any of
the 4 register addressing modes and the most sig-
nificant nibble will, in all cases, be 14 (0Eh).
Paged Registers
There are a maximum of 64 pages each containing
16 registers. These are addressed using the regis-
ter addressing modes with the addition of the Page
Pointer register, R234. This register selects the
page to be addressed in group F and once set,
does not need to be changed if two or more regis-
ters on the same page are to be addressed in suc-
cession.
Therefore if the Page Pointer, R234, is set to 5, the
instructions
spp 5
ld R242, r4
will load the contents of working register r4 into the
third register (R242) of page 5.
These paged registers hold data and control regis-
ters related to the on-chip peripherals, and thus the
configuration depends upon the peripheral organi-
sation of each ST9 family member. i.e. pages only
exist if the peripheral exists.
Available pages are shown in Table 1-3.
1.1.2.3 Input/Output Ports
The Input/Output ports are located in two areas.
The port registers for Ports 0-5 are located at the
bottom of the System register group in locations
R224 to R229.
Each Port has three associated Control registers,
which determine the individual pin modes (I/O,
Open-Drain etc). These registers are located in
pages 2 and 3.
Table 1-2. Register File Organization
Address
E0-EF
D0-DF
C0-CF
B0-BF
A0-AF
F0-FF
90-9F
80-8F
70-7F
60-6F
50-5F
40-4F
30-3F
20-2F
10-1F
00-0F
Hex.
Address
Decimal
240-255
224-239
208-223
192-207
176-191
160-175
144-159
128-143
112-127
96-111
80-95
64-79
48-63
32-47
16-31
00-15
Function
Registers
Registers
Registers
Purpose
General
System
Paged
Register File
Group D
Group C
Group F
Group E
Group B
Group A
Group 9
Group 8
Group 7
Group 6
Group 5
Group 4
Group 3
Group 2
Group 1
Group 0
Group
ST9291
9/20

Related parts for ST9291