cop8tab9 National Semiconductor Corporation, cop8tab9 Datasheet - Page 45

no-image

cop8tab9

Manufacturer Part Number
cop8tab9
Description
8-bit Cmos Flash Microcontroller With 2k Byte Or 4k Byte Memory
Manufacturer
National Semiconductor Corporation
Datasheet
17.0 ACCESS.Bus Interface
17.9 ACB CONTROL REGISTER 2 (ACBCTL2)
The ACBCTL2 register is a byte-wide, read/write register
that controls the module and selects the ACB clock rate. At
reset, the ACBCTL2 register is cleared.
GCMEN
ACK
INTEN
STOP
START
SCLFRQ
(Continued)
7
The Global Call Match Enable bit enables
the match of an incoming address byte to
the general call address (Start Condition
followed by address byte of 00) while the
ACB is in slave mode.
The Acknowledge bit holds the value this
device sends in master or slave mode during
the next acknowledge cycle. Setting this bit
to 1 instructs the transmitting device to stop
sending data, because the receiver either
does not need, or cannot receive, any more
data.
The Interrupt Enable bit controls generating
ACB interrupts. When the INTEN bit is set,
interrupts are enabled. An interrupt is
generated on any of the following events:
The Stop bit in master mode generates a
Stop Condition that completes or aborts the
current message transfer.
The Start bit is set to generate a Start
Condition on the ACCESS.Bus. This bit
should be set only when in Master mode or
when requesting Master mode. An address
send sequence should then be performed.
• An
• A Bus Error occurs (ACBST.BERR = 1).
• Negative acknowledge after sending a
• An interrupt is generated on acknowledge
• Detection of a Stop Condition while in
(ACBST.NMATCH = 1) and the NMINTE
bit is set.
byte (ACBST.NEGACK = 1).
of each transaction (same as hardware
setting the ACBST.SDAST bit).
slave receive mode (ACBST.SLVSTP =
1).
SCLFRQ
The SCL Frequency field specifies the
SCL period (low time and high time) in
master mode. The clock low time and
high time are defined as follows:
t
Where tCLK is this device’s clock
period when in Active mode. The
SCLFRQ field may be programmed to
values in the range of 0001000
through 1111111.
SCLK1
address
= t
SCLKh
MATCH
= 2 x SCLFRQ x t
1
is
ENABLE
detected
0
SCLK
45
17.10 ACB OWN ADDRESS REGISTER (ACBADDR)
The ACBADDR register is a byte-wide, read/write register
that holds the module’s first ACCESS.Bus address.
18.0 Memory Map
All RAM, ports and registers (except A and PC) are mapped
into data memory address space.
ENABLE
SAEN
ADDR
00 to 6F
70 to 7F
80 to 83
84
85
86
87 to 8F
90 to 93
94
95
96
97
98 to 9F
A0 to A7
SEAN
7
ADD REG
Address
6
The Slave Address Enable bit controls
whether address matching is performed
in slave mode. When set, the SAEN bit
indicates that the ADDR field holds a
valid address and enables the match of
ADDR to an incoming address byte.
The Own Address field holds the 7-bit
ACCESS.Bus address of this device. In
slave mode, the 7 bits received after a
Start Condition are compared to this field
(first bit received to bit 6, and the last to
bit 0). If the address field matches the
received data and the SAEN bit is set, a
match is detected.
On-Chip RAM bytes (112 bytes)
Unused RAM Address Space (Reads As
All Ones)
Unused RAM Address Space (Reads
Undefined Data)
Port C MIWU Edge Select Register
(Reg: CWKEDG)
Port C MIWU Enable Register (Reg:
CWKEN)
Port C MIWU Pending Register (Reg:
CWKPND)
Reserved
Reserved
Port F Data Register
Port F Configuration Register
Port F Input pins (Read Only)
Reserved for Port F
Reserved
Reserved
The Enable bit controls the ACB
module. When this bit is set, the ACB
module is enabled. When the Enable
bit is clear, the ACB module is
disabled, the ACBCTL1, ACBST, and
ACBCST registers are cleared, and the
ACB module clocks are halted.
ADDR
Contents
www.national.com
0

Related parts for cop8tab9