Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

SN8P1702P Datasheet(PDF) 68 Page - SONiX Technology Company

No. de pieza SN8P1702P
Descripción Electrónicos  8-Bit Micro-Controller
PDF  145 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  SONIX [SONiX Technology Company]
Página de inicio  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8P1702P Datasheet(HTML) 68 Page - SONiX Technology Company

Back Button SN8P1702P Datasheet HTML 64Page - SONiX Technology Company SN8P1702P Datasheet HTML 65Page - SONiX Technology Company SN8P1702P Datasheet HTML 66Page - SONiX Technology Company SN8P1702P Datasheet HTML 67Page - SONiX Technology Company SN8P1702P Datasheet HTML 68Page - SONiX Technology Company SN8P1702P Datasheet HTML 69Page - SONiX Technology Company SN8P1702P Datasheet HTML 70Page - SONiX Technology Company SN8P1702P Datasheet HTML 71Page - SONiX Technology Company SN8P1702P Datasheet HTML 72Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 145 page
background image
SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 68
Revision 1.94
8
8
8 TIMERS COUNTERS
WATCHDOG TIMER (WDT)
The watchdog timer (WDT) is a binary up counter designed for monitoring program execution. If the program get into
the unknown status by noise interference, WDT’s overflow signal will reset this chip and restart operation. The
instruction that clear the watch-dog timer (B0BSET
FWDRST) should be executed at proper points in a program
within a given period. If an instruction that clears the watchdog timer is not executed within the period and the
watchdog timer overflows, reset signal is generated and system is restarted with reset status. In order to generate
different output timings, the user can control watchdog timer by modifying Wdrate control bits of OSCM register. The
watchdog timer will be disabled at green and power down modes.
OSCM initial value = 0000 000x
0CAH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
OSCM
0
WDRST
Wdrate
-
CPUM0
CLKMD
STPHX
-
-
R/W
R/W
-
R/W
R/W
R/W
-
Notice: The bit 7 must be “0”, or the system will be error.
Wdrate: Watchdog timer rate select bit. 0 =14
th, 1 = 8th.
WDRST : Watch dog timer reset bit. 0 = Non reset, 1 = clear the watchdog timer’s counter.
Watchdog timer overflow time
Wdrate
External high-speed oscillator
1 / ( fcpu
÷ 214 ÷ 16 ) = 293 ms, Fosc=3.58MHz
0
1 / ( fcpu
÷ 214 ÷ 16 ) = 32 s, Fosc=32768Hz
1 / ( fcpu
÷ 28 ÷ 16 ) = 4.5 ms, Fosc=3.58MHz
1
1 / ( fcpu
÷ 28 ÷ 16 ) = 500 ms, Fosc=32768Hz
Figure 8-1. Watchdog timer overflow time table
Note: The watch dog timer can be enabled or disabled by the code option.
Example: An operation of watch-dog timer is as following. To clear the watchdog timer’s counter in the top
of the main routine of the program.
Main:
B0BSET
FWDRST
; Clear the watchdog timer’s counter.
.
.
CALL
SUB1
CALL
SUB2
.
.
.
.
.
.
JMP
MAIN



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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