sx20ac Parallax, Inc., sx20ac Datasheet - Page 21

no-image

sx20ac

Manufacturer Part Number
sx20ac
Description
Configurable Communications Controllers With Ee/flash Program Memory, In-system Programming Capability And On-chip Debug
Manufacturer
Parallax, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sx20ac/SS
Manufacturer:
EUDYNA
Quantity:
12
Part Number:
sx20ac/SS
Manufacturer:
UBICOM
Quantity:
20 000
Part Number:
sx20ac/SS-G
Manufacturer:
IR
Quantity:
31 400
Parallax SX20AC/SX28AC
8.0
The device supports both internal and external maskable
interrupts. The internal interrupt is generated as a result of
the RTCC rolling over from 0FFh to 00h. This interrupt
source has an associated enable bit located in the
OPTION register. There is no pending bit associated with
this interrupt.
Port B provides the source for eight external software
selectable, edge sensitive interrupts. These interrupt
sources share logic with the Multi-Input Wakeup
circuitry. The WKEN_B register allows interrupt from
Port B to be individually enabled or disabled. Clearing a
bit in the WKEN_B register enables the interrupt on the
corresponding Port B pin. The WKED_B selects the
© Parallax Inc.
INTERRUPT SUPPORT
Figure 8-1: Interrupt Structure
Page 21 of 51
transition edge to be either positive or negative. The
WKEN_B and WKED_B registers are set to FFh upon
reset. Setting a bit in the WKED_B register selects the
falling edge while clearing the bit selects the rising edge
on the corresponding Port B pin.
The WKPND_B register serves as the external interrupt
pending register.
The WKPND_B register comes up a with random value
upon reset. The user program must clear the WKPND_B
register prior to enabling the interrupt. The proper
sequence is described in Section 7.2
Figure 8-1 shows the structure of the interrupt logic.
Rev 1.6 11/20/2006
www.parallax.com

Related parts for sx20ac