数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

DSP56303 数据表(PDF) 196 Page - Freescale Semiconductor, Inc

部件名 DSP56303
功能描述  DSP56303 USER?셎 MANUAL
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  FREESCALE [Freescale Semiconductor, Inc]
网页  http://www.freescale.com
标志 FREESCALE - Freescale Semiconductor, Inc

DSP56303 数据表(HTML) 196 Page - Freescale Semiconductor, Inc

Back Button DSP56303 Datasheet HTML 192Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 193Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 194Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 195Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 196Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 197Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 198Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 199Page - Freescale Semiconductor, Inc DSP56303 Datasheet HTML 200Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 196 / 292 page
background image
DSP56303 User’s Manual, Rev. 2
9-4
Freescale Semiconductor
Triple Timer Module
3.
Configure other registers: Timer Prescaler Load Register (TPLR), Timer Load Register
(TLR), and Timer Compare Register (TCPR) as needed for the application.
4.
Enable the timer by setting the TCSR[TE] bit.
9.2.3 Timer Exceptions
Each timer can generate two different exceptions:
„ 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 TIO signal. The Compare exception sets the TCF bit. TCF is cleared when a
value of one is written to it or when the timer compare interrupt is serviced.
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:
1.
Configure the interrupt service routine (ISR):
a.
Load vector base address register
VBA (b23–8)
b.
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.
c.
Load the exception vector table entry: two-word fast interrupt, or jump/branch to
subroutine (long interrupt).
p:TIM0C
2.
Configure the interrupt trigger:
a.
Enable and prioritize overall peripheral interrupt functionality.
IPRP (TOL[1–0])
b.
Enable a specific peripheral interrupt.
TCSR0 (TCIE)
c.
Unmask interrupts at the global level.
SR (I[1–0])
d.
Configure a peripheral interrupt-generating function.
TCSR0 (TC[7–4])
e.
Enable peripheral and associated signals.
TCSR0 (TE)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com