Interrupt Mask Control Switch, Sw1 - Motorola M68EM05P18 User Manual

Emulation module
Table of Contents

Advertisement

HC05EVS Configuration and Operation
Interrupt Mask
Control Switch,
SW1
36
The eight positions of switch SW1 enable or disable the port A interrupt
mask options. Each position controls one port A line. A switch in the left
position, OFF, disables the option; a switch in the right position, ON,
enables the option.
If a mask option is enabled (switched ON) and the corresponding bit of
the port A data direction register is configured as an input, a low on the
port A pin generates an interrupt. This diagram shows a possible setting.
Interrupt masks are disabled for port A lines 0 through 3 and are enabled
for port A lines 4 through 7.
The default setting for all eight positions of SW1 is OFF.
HC05EVS Configuration and Operation
Setting M68EM05P18 Jumper Headers
SW1
PA0
PA7
ON
PORT A MASK
OPTION PULLUPS
M68EM05P18UM/D
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents