mc68hc916y3 Freescale Semiconductor, Inc, mc68hc916y3 Datasheet - Page 325

no-image

mc68hc916y3

Manufacturer Part Number
mc68hc916y3
Description
Mc68hc16y3 16 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
14.6.2.1 Channel Interrupt Enable and Status Registers
14.6.2.2 Channel Function Select Registers
MC68HC16Y3/916Y3
USER’S MANUAL
The channel interrupt enable register (CIER) allows the CPU16 to enable or disable
the ability of individual TPU2 channels to request interrupt service. Setting the appro-
priate bit in the register enables a channel to make an interrupt service request; clear-
ing a bit disables the interrupt.
The channel interrupt status register (CISR) contains one interrupt status flag per
channel. Time functions specify via microcode when an interrupt flag is set. Setting a
flag causes the TPU2 to make an interrupt service request if the corresponding CIER
bit is set and the CIRL field has a non-zero value. To clear a status flag, read CISR,
then write a zero to the appropriate bit. CISR is the only TPU2 register that can be ac-
cessed on a byte basis.
Encoded 4-bit fields within the channel function select registers specify one of 16 time
functions to be executed on the corresponding channel. Encodings for predefined
functions in the TPU ROM are found in Table 14-4.
Pulse width modulation
with additional/missing
Position-synchronized
Period measurement
Discrete input/output
Synchronized pulse
Quadrature decode
Input capture/input
Period/pulse width
transition counter
width modulation
Function Name
Output compare
transition detect
pulse generator
Stepper motor
accumulator
PMA/PMM
SPWM
PPWA
QDEC
PWM
PSP
DIO
ITC
OC
SM
A Mask Set
Freescale Semiconductor, Inc.
Table 14-4 TPU2 Function Encodings
For More Information On This Product,
Function Code
TIME PROCESSOR UNIT 2
Go to: www.freescale.com
$E
$D
$C
$B
$A
$F
$9
$8
$7
$6
Programmable time ac-
Queued output match
Table stepper motor
New input transition
receiver/transmitter
Hall effect decode
Multiphase motor
Function Name
asynchronous
measurement
commutation
Frequency
cumulator
Universal
counter
COMM
HALLD
UART
QOM
NITC
FQM
TSM
PTA
G Mask Set
Function Code
$E
$D
$C
$B
$A
$F
$9
$8
MOTOROLA
14-17

Related parts for mc68hc916y3