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

X  

TNETV1002IDZHK 数据表(PDF) 50 Page - Texas Instruments

部件名 TNETV1002IDZHK
功能描述  Fixed-Point Digital Signal Processor
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  TI1 [Texas Instruments]
网页  http://www.ti.com
标志 TI1 - Texas Instruments

TNETV1002IDZHK 数据表(HTML) 50 Page - Texas Instruments

Back Button TNETV1002IDZHK Datasheet HTML 46Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 47Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 48Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 49Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 50Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 51Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 52Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 53Page - Texas Instruments TNETV1002IDZHK Datasheet HTML 54Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 50 / 102 page
background image
MCU Subsystem Functional Overview
40
June 2001 -- Revised December 2002
SPRS180C
4.3.6.2
TIMER0 as a Watchdog Timer
By default, TIMER0 is configured as a watchdog timer. The watchdog is designed to detect user programs
stuck in infinite loops resulting in loss of program control or “runaway” programs. When configured as a
watchdog counter, TIMER0 will reset the MCU subsystem if it counts down to zero. The MCU’s reset
initialization code may examine the WATCHDOG_STAT register to determine if a MCU reset was caused by
the Watchdog.
The user program should write periodically into LOAD_TIM register before the counter reaches 0 in order to
reload the timer with this new value. A LOAD_TIM write is taken into account only if the new loaded value is
different from the previous one. When the watchdog counter reaches 0, it resets the MCU core and all the
MCU subsystem peripherals.
On power up, the watchdog is enabled and the value loaded into LOAD_TIM register is set to the maximum
value (0xFFFF) and PTV is set to seven. This gives to user a time of 16,777,216 * tclk to switch to normal timer
mode or to set a different watchdog timer time out to Timer0.
If a programmer does not want to have this default watchdog functionality, he must write a specific sequence
into a dedicated register (TIMER_MODE) in order to configure it as a general-purpose timer.
Disabling TIMER0 Watchdog Function
Timer0 may be configured as a general-purpose timer by writing a predefined sequence (0xF5 followed by
0xA0) in the WATCHDOG_DIS bits of the CNTL_TIMER0 register. If the watchdog disable function sees a
write to CNTL_TIMER0 with WATCHDOG_DIS set to 0xF5, it begins watching for another write to
CNTL_TIMER0 with WATCHDOG_DIS set to 0xA0. If WATCHDOG_DIS in the next write is 0xA0, TIMER0
is set for general-purpose mode. If the next write is instead 0xF5, TIMER0 remains in watchdog mode and
the disable function begins watching again for 0xF5.
Re-enabling TIMER0 Watchdog Function
To switch TIMER0 from general-purpose timer mode to watchdog timer mode, write a ‘1’ in the WATCHDOG
bit of the CNTL_TIMER0 register. When WATCHDOG is set to 1, the LOAD_TIM value is forced to 0xFFFF.
Due to internal sequencing, the MCU code should wait at least three timer clock periods before re-initializing
LOAD_TIM or PVT to values that meet system watchdog timing needs.
4.3.7 MCU Interrupt Handler
The MCU subsystem interrupt handler prioritizes and masks interrupts from up to 16 MCU subsystem
interrupt sources (IRQ0–15). It also steers these interrupts to the MCU’s two interrupt inputs: ARM_IRQ
(low-priority interrupt request) and ARM_FIQ (fast interrupt request). It receives interrupts from both internal
modules and the external chip environment. External interrupts to the MCU subsystem interrupt handler may
be provided through GPIO and/or KBGPIO pins.
Each interrupt source has an interrupt level register (ILR) which defines the priority of the corresponding
interrupt. When multiple interrupts are pending, the interrupt with the highest-priority interrupt level register
value is sent to the MCU first. In the case of multiple pending interrupts with identical ILR priority values (with
no other pending interrupts with higher priority), the highest interrupt number is sent to the MCU first.
Each interrupt source can be individually routed to one of the two input interrupt lines of the MCU, by properly
setting the FIQ bit in the interrupt’s ILR_IRQ_n register.



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