
DS80CH11
011200 54/88
When an AMQ bit is set to 1, the corresponding activity
monitor input pin is qualified with IOR or IOW. As a
result, the corresponding AMF bit will not be set unless
the programmed state on the AMI.n pin is accompanied
with a valid IOR or IOW signal. This prevents false trig-
gering of activity monitor inputs from chip select outputs
due to address decoding glitches.
8.5
AMP – ACTIVITY MONITOR POLARITY REGISTER
AMP; SFR ADDR.=094H
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
AMP7
AMP6
AMP5
AMP4
AMP3
AMP2
AMP1
AMP0
Read/Write Access: Unrestricted.
Initialization: 00h on any type of reset
The bits in the AMP register are used to select the polar-
ity of a valid state on the activity monitor input pins.
When an AMP bit is set to 1, a high state is selected as
valid on the corresponding AMI pin. When and AMP bit
= 0, a low state is selected as valid.
8.6
AMF – ACTIVITY MONITOR FLAG REGISTER
AMF; SFR ADDR.=095H
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
AMF7
AMF6
AMF5
AMF4
AMF3
AMF2
AMF1
AMF0
Read/Write Access: Unrestricted.
Initialization: 00h on any type of reset
An AMF bit will be set whenever a valid state is detected
on the associated AMI.n pin. A valid state is determined
by the programming of the Activity Monitor Polarity reg-
ister and the Activity Monitor Qualifier register, both
described above. If the associated AME bit is set, the
AMF bit is enabled as an interrupt source. An SEM inter-
rupt will be recognized if the EAM is also set, enabling
activity monitor interrupts. Upon receiving an activity
monitor interrupt, the system should read the AMF reg-
ister to determine the source of interrupt. An AMF bit
can be cleared by writing it to a 0 to clear the interrupt
source condition. Writing a 1 has no effect.
8.7
Part 7 can also be used to control LED’s by turning them
on or off. To turn on an LED, the Port 7.X bit must be pro-
grammed to a logic 0 allowing current to sink into the
DS80CH11. To turn off an LED the Port 7.X but must be
programmed to a logic 1, preventing any current flow
LED CONTROL
through the LED circuit. Each Port 7 pin is capable of
sinking 10mA of current. When using this port for LED
control it is recommended that no more than 40mA of
sink current be dissipated at a time into the DS80CH11.