DEMO9S08EL32 Freescale Semiconductor, DEMO9S08EL32 Datasheet - Page 81

BOARD DEMO FOR 9S08 EL MCU

DEMO9S08EL32

Manufacturer Part Number
DEMO9S08EL32
Description
BOARD DEMO FOR 9S08 EL MCU
Manufacturer
Freescale Semiconductor
Type
MCUr
Datasheets

Specifications of DEMO9S08EL32

Contents
Evaluation Board
Processor To Be Evaluated
MC9S08EL32
Data Bus Width
8 bit
Interface Type
RS-232, USB
Operating Supply Voltage
12 V
Silicon Manufacturer
Freescale
Core Architecture
HCS08
Core Sub-architecture
HCS08
Silicon Core Number
MC9S08
Silicon Family Name
S08EL
Rohs Compliant
Yes
For Use With/related Products
MC9S08EL32
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
6.3
Port A[3:0], port B[3:0] and port C pins can be configured as external interrupt inputs and as an external
mean of waking the MCU from stop3 or wait low-power modes.
The block diagram for each port interrupt logic is shown
Writing to the PTxPSn bits in the port interrupt pin select register (PTxPS) independently enables or
disables each port pin. Each port can be configured as edge sensitive or edge and level sensitive based on
the PTxMOD bit in the port interrupt status and control register (PTxSC). Edge sensitivity can be software
programmed to be either falling or rising; the level can be either low or high. The polarity of the edge or
edge and level sensitivity is selected using the PTxESn bits in the port interrupt edge select register
(PTxES).
Synchronous logic is used to detect edges. Prior to detecting an edge, enabled port inputs must be at the
deasserted logic level. A falling edge is detected when an enabled port input signal is seen as a logic 1 (the
deasserted level) during one bus cycle and then a logic 0 (the asserted level) during the next cycle. A rising
edge is detected when the input signal is seen as a logic 0 during one bus cycle and then a logic 1 during
the next cycle.
6.3.1
A valid edge on an enabled port pin will set PTxIF in PTxSC. If PTxIE in PTxSC is set, an interrupt request
will be presented to the CPU. Clearing of PTxIF is accomplished by writing a 1 to PTxACK in PTxSC.
6.3.2
A valid edge or level on an enabled port pin will set PTxIF in PTxSC. If PTxIE in PTxSC is set, an interrupt
request will be presented to the CPU. Clearing of PTxIF is accomplished by writing a 1 to PTxACK in
PTxSC provided all enabled port inputs are at their deasserted levels. PTxIF will remain set if any enabled
port pin is asserted while attempting to clear by writing a 1 to PTxACK.
Freescale Semiconductor
PIxn
PIxn
PTxESn
PTxS0
Pin Interrupts
1
0
1
0
S
S
Edge Only Sensitivity
Edge and Level Sensitivity
PTxPS0
PTxPSn
MC9S08EL32 Series and MC9S08SL16 Series Data Sheet, Rev. 3
Figure 6-2. Port Interrupt Block Diagram
PTxMOD
V
DD
D
CK
CLR
Q
Figure
INTERRUPT FF
PORT
6-2.
PTxACK
RESET
STOP
Chapter 6 Parallel Input/Output Control
SYNCHRONIZER
STOP BYPASS
BUSCLK
PTxIE
PTxIF
PTx
INTERRUPT
REQUEST
81

Related parts for DEMO9S08EL32