Memory Maps
http://www.mcg.mot.com/literature
1-37
1
Note
A bug in MVME172s that have MC2 chip revision $01 does
not allow the data registers to be accessed directly. You must
access them indirectly via the SCC chip. The software must
send a command to the control register that tells it that the
next thing read or written to the control register will go to the
data register. The following two macros are examples:
dev_addr
is a pointer to the base address of the SCC.
SCCR0
is the offset to the SCC control register #0.
#define READ_SCC(VAR_NAME)\
dev_addr[SCCR0] = 0x08;\
(VAR_NAME) = dev_addr[SCCR0]
#define WRITE_SCC(VAR_NAME)\
dev_addr[SCCR0] = 0x08;\
dev_addr[SCCR0] = (VAR_NAME)
Table 1-12. Z85230 SCC Register Addresses
SCC
Z85230 SCC Register
Address
SCC #1
(All MVME172
modules)
Port B Control
$FFF45001
Port B Data
$FFF45003
Port A Control
$FFF45005
Port A Data
$FFF45007
SCC #2
(200/300-Series
MVME172
only)
Port B Control
$FFF45801
Port B Data
$FFF45803
Port A Control
$FFF45805
Port A Data
$FFF45807
Содержание MVME172
Страница 1: ...MVME172 VME Embedded Controller Programmer s Reference Guide VME172A PG2 Edition of February 1999 ...
Страница 6: ...Place holder ...
Страница 18: ...xviii ...
Страница 78: ...1 60 Computer Group Literature Center Web Site Board Description and Memory Maps 1 ...
Страница 332: ...5 42 Computer Group Literature Center Web Site MCECC 5 ...
Страница 336: ...A 4 Related Documentation A ...
Страница 340: ...VMEchip2 Tick Timer 1 Periodic Interrupt Example B 4 Computer Group Literature Center Web Site B ...
Страница 352: ...Index IN 12 Computer Group Literature Center Web Site I N D E X ...
Страница 354: ......