поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PC87570 датащи(PDF) 117 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
номер детали PC87570
подробное описание детали  PC87570 Keyboard and Power Management Controller
PDF  168 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  NSC [National Semiconductor (TI)]
домашняя страница  http://www.national.com
Logo NSC - National Semiconductor (TI)

PC87570 датащи(HTML) 117 Page - National Semiconductor (TI)

Back Button PC87570 Datasheet HTML 113Page - National Semiconductor (TI) PC87570 Datasheet HTML 114Page - National Semiconductor (TI) PC87570 Datasheet HTML 115Page - National Semiconductor (TI) PC87570 Datasheet HTML 116Page - National Semiconductor (TI) PC87570 Datasheet HTML 117Page - National Semiconductor (TI) PC87570 Datasheet HTML 118Page - National Semiconductor (TI) PC87570 Datasheet HTML 119Page - National Semiconductor (TI) PC87570 Datasheet HTML 120Page - National Semiconductor (TI) PC87570 Datasheet HTML 121Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 117 / 168 page
background image
Timer and WATCHDOG (TWD)
117
www.national.com
15.3 WATCHDOG OPERATION
The WATCHDOG is an 8-bit down counter, operating on the
rising edge of its currently selected clock source. Upon re-
set, it is disabled (i.e., it does not count and no WATCH-
DOG signal is generated). A write to the WATCHDOG
Count Register (WDCNT) or a write to the WATCHDOG
Service Data Match (WDSDM) Register starts the counter.
Once started, only reset can stop the WATCHDOG.
Writing to the WDCNT Register (when WDCFG.LWD-
CNT=0) starts the WATCHDOG counting down from the
written value. If the service on data match is enabled (WD-
CFG.WDSDME = 1), writing to the WDSDM Register with
5Ch restarts the WATCHDOG counter from the value
stored in WDCNT. Any other data causes a WATCHDOG
signal.
A WATCHDOG signal is triggered if:
q
The counter reaches zero (too late service)
q
The WATCHDOG is written to more than once per
WATCHDOG clock cycle for the currently selected
clock (too early service).
WATCHDOG Clock Source Selection
Select the clock source as follows:
TWCFG.WDCT01 = 0
T0OUT
TWCFG.WDCT01 = 1
T0IN
Changing the WATCHDOG clock source may cause it to
gain or lose one clock cycle.
Notes:
1. When TWCP.MDIV=0, the WATCHDOG counter may
skip one count when loaded with a new value.
2. Avoid entering Idle mode in the first four low frequency
clock cycles after first activating the WATCHDOG.
15.4 TWD CONTROL AND CONFIGURATION
The TWD Configuration Register (TWCFG) allows you to:
q
Set the WATCHDOG clock source: T0IN or T0OUT
q
Enable WATCHDOG service on write to WDSDM Reg-
ister
q
Define which of TWCFG, TWCPR, TWDT0, T0CSR
and WDCNT is locked.
Once LTWCFG, LTWCP, LTWDT0 or LWDCNT are set in
the TWCFG Register, their respective resources are locked
and may be cleared only by reset. Setting any of these reg-
isters prevents runaway software from tampering with the
respective WATCHDOG function.
15.5 OPERATION IN IDLE MODE
The TWD is active in Idle mode. In this mode, the counters
continue to function. All registers are accessible in Active
mode only.
Write operations to TWCP, TWDT0 and WDCNT may be
delayed by up to 3 32.768 KHz clock cycles. The software
should avoid entering Idle mode during this period.
15.6 TWD REGISTERS
15.6.1
Timer and WATCHDOG Configuration
Registers (TWCFG)
The TWCFG Register is a byte wide, read/write register. It
defines the WATCHDOG clock input and service method
and enables TWD control registers locking. Setting the re-
quired configuration and locking the TWCFG, stops the
software from interfering with the WATCHDOG operation.
Upon reset, the non-reserved bits of TWCFG are initialized
to 0.
Bit 0 - Lock TWCFG Register (LTWCFG)
When cleared (0), enables read/write from/to the
TWCFG Register. When set (1), any data written to it is
ignored and reading from it returns unpredictable val-
ues. Once LTWCFG is set, it can only be cleared by re-
set.
Bit 1 - Lock TWCP Register (LTWCP)
When cleared (0), enables read/write from/to the TWCP
Register. When set (1), any data written to it is ignored
and reading from it returns unpredictable values. Once
LTWCP is set, it can only be cleared by reset.
Bit 2 - Lock TWDT0 Register (LTWDT0)
When cleared (0), enables read/write from/to the
TWDT0 and T0CSR Registers. When LTWDT0 is set
(1), the registers cannot be written to, and TWDT0 can-
not be read. Any data written to TWDT0 or T0CSR is ig-
nored. Reading from TWDT0 returns unpredictable
values. Once LTWDT0 is set, it can only be cleared by
reset.
Bit 3 - Lock WDCNT Register (LWDCNT)
When cleared (0), enables write to the WDCNT Regis-
ter. When set (1), any data written to it is ignored and
reading from it returns unpredictable values. Once
LWDCNT is set, it can only be cleared by reset.
Bit 4 - WATCHDOG Clock from T0IN (WDCT0I)
When cleared (0), selects the T0OUT clock as the
WATCHDOG clock. When set (1), selects T0IN as the
input clock. The hardware clock source selection over-
rides this clock selection.
Bit 5 - WATCHDOG Service on Data Match Enable (WDSDME)
When cleared (0), disables the watchdog service using
the WDSDM Register. In this case, the WATCHDOG
should be serviced by writing a value to the WDCNT
Register. When set (1), selects the use of data match
using the WDSDM mechanism. When this bit is cleared,
write operations to WDSDM are ignored.
15.6.2
Timer and Watchdog Clock Pre-Scaler Register
(TWCP)
The TWCP Register is a byte wide, read/write register. It de-
fines the pre-scale ratio of the input clock and generates the
T0IN clock. Upon reset, the non-reserved bits of TWCP are ini-
tialized to 0.
7 6
5
4
3
2
1
0
Res WDSDME WDCT0I LWDCNT LTWDT0 LTWCP LTWCFG
7
4
2
0
Reserved
MDIV



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


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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