DSP56303 FREESCALE [Freescale Semiconductor, Inc], DSP56303 Datasheet - Page 196
![no-image](/images/no-image-200.jpg)
DSP56303
Manufacturer Part Number
DSP56303
Description
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
1.DSP56303.pdf
(292 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSP56303AG100
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
DSP56303AG100B1
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
DSP56303AG100R2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
DSP56303GC100
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
DSP56303PV100
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Company:
Part Number:
DSP56303PV100B
Manufacturer:
MOT
Quantity:
5 510
Company:
Part Number:
DSP56303PV100B
Manufacturer:
MAXIM
Quantity:
5 510
Company:
Part Number:
DSP56303VF100
Manufacturer:
MNDSPEED
Quantity:
2
Company:
Part Number:
DSP56303VF100
Manufacturer:
MOTOLOLA
Quantity:
513
Company:
Part Number:
DSP56303VF100
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
DSP56303VF100
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
DSP56303VL100
Manufacturer:
FUJI
Quantity:
1 000
Triple Timer Module
9.2.3 Timer Exceptions
Each timer can generate two different exceptions:
To configure a timer exception, perform the following steps. The example at the right of each
step shows the register settings for configuring a Timer 0 compare interrupt. The order of the
steps is optional except that the timer should not be enabled (step 2e) until all other exception
configuration is complete:
9-4
3.
4.
1.
2.
Timer Overflow (highest priority) — Occurs when the timer counter reaches the overflow
value. This exception sets the TOF bit. TOF is cleared when a value of one is written to it
or when the timer overflow exception is serviced.
Timer Compare (lowest priority) — Occurs when the timer counter reaches the value
given in the Timer Compare Register (TCPR) for all modes except measurement modes.
In measurement modes 4–6, a compare exception occurs when the appropriate transition
occurs on the
value of one is written to it or when the timer compare interrupt is serviced.
Configure other registers: Timer Prescaler Load Register (TPLR), Timer Load Register
(TLR), and Timer Compare Register (TCPR) as needed for the application.
Enable the timer by setting the TCSR[TE] bit.
Configure the interrupt service routine (ISR):
a.
b.
c.
Configure the interrupt trigger:
a.
b.
c.
d.
e.
Load vector base address register
Define I_VEC to be equal to the VBA value (if that is nonzero). If it is defined,
I_VEC must be defined for the assembler before the interrupt equate file is
included.
Load the exception vector table entry: two-word fast interrupt, or jump/branch to
subroutine (long interrupt).
Enable and prioritize overall peripheral interrupt functionality.
Enable a specific peripheral interrupt.
Unmask interrupts at the global level.
Configure a peripheral interrupt-generating function.
Enable peripheral and associated signals.
TIO
signal. The Compare exception sets the TCF bit. TCF is cleared when a
DSP56303 User’s Manual, Rev. 2
VBA (b23–8)
p:TIM0C
IPRP (TOL[1–0])
TCSR0 (TCIE)
SR (I[1–0])
TCSR0 (TC[7–4])
TCSR0 (TE)
Freescale Semiconductor