DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST9291J5/N5 데이터 시트보기 (PDF) - STMicroelectronics

부품명
상세내역
제조사
ST9291J5/N5 Datasheet PDF : 20 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
ST9291
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
Hex.
Address
F0-FF
E0-EF
D0-DF
C0-CF
B0-BF
A0-AF
90-9F
80-8F
70-7F
60-6F
50-5F
40-4F
30-3F
20-2F
10-1F
00-0F
Decimal
Address
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
Register File
Group
Paged
Registers
Group F
System
Registers
Group E
Group D
Group C
Group B
Group A
Group 9
General
Purpose
Registers
Group 8
Group 7
Group 6
Group 5
Group 4
Group 3
Group 2
Group 1
Group 0
9/20
®

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]