| Electronic Components Datasheet Search |
|
HT48R53 Datasheet(PDF) 11 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48R53 Datasheet(HTML) 11 Page - Holtek Semiconductor Inc |
|
11 / 35 page ![]() HT48R52/HT48R53 Rev. 1.20 11 December 6, 2005 Watchdog Timer - WDT The WDT clock source is implemented by a WDT OSC, external 32768Hz (fRTC) or an instruction clock (system clock divided by 4), determined by option. This timer is designed to prevent a software malfunction or sequence from jumping to an unknown location with unpredictable results. The Watchdog can be disabled by option. If the Watchdog Timer is disabled, all the execution related to WDT results in no operation. If the device operates in a noisy environment, using the on-chip WDT OSC or 32768Hz crystal oscillator is strongly recommended. When the WDT clock source is selected, it will be first di- vided by 16 (4-stage), and then divided by TMRC prescaler (8-stage), after that, divided by 512 (9-stage) to get the nominal time-out period. By using the TMRC prescaler, longer time-out periods can be realized. Writ- ing data to PSC2, PSC1, PSC0 can give different time-out periods. The WDT OSC period is 65 ms. This time-out period may vary with temperature, VDD and process variations. The WDT OSC always works for any operation mode. If the instruction clock (system clock/4) is selected as the WDT clock source, the WDT operates in the same manner. If the WDT clock source is the 32768Hz, the WDT also operates in the same manner. The WDT time-out under normal mode or slow mode will initialize a ²chip reset² and set the status bit ²TO². But in the idle mode (HALT instruction is executed) the time-out will initialize a ²warm reset² and only the pro- gram counter and stack pointer are reset to 0. To clear the WDT contents (not including the 4-bit di- vider and the 8-stage prescaler), three methods are adopted; external reset (a low level to RES pin), soft- ware instruction and a ²HALT² instruction. The software instruction include ²CLR WDT² and the other set ²CLR WDT1² and ²CLR WDT2². Of these two types of instruction, only one can be active depending on the mask option ²WDT² instruction. If the ²CLR WDT ² is selected (i.e. One clear instruction), any execu- tion of the CLR WDT instruction will clear the WDT. In the case that ²CLR WDT1² and ²CLR WDT2² are cho- sen (i.e. two clear instructions), these two instructions must be executed to clear the WDT; otherwise, the WDT may reset the chip as a result of time-out. Buzzer Output The PB0 and PB1 are pin-shared with BZ and BZ signal, respectively. If the BZ & BZ option is selected, the output signal in output mode of PB0/PB1 will be the generated buzzer signal . The input mode always remain in its orig- inal functions. Once the BZ & BZ option is selected, the buzzer output signals are controlled by the PB0 data register only. The I/O functions of PB0/PB1 are shown below. 4 - B i t D i v i d e r 8 - S t a g e P r e s c a l e r 8 - t o - 1 M U X W D T T i m e - o u t P S C 2 ~ P S C 0 O p t i o n S e l e c t S y s t e m C l o c k / 4 W D T O S C 3 2 7 6 8 H z f S 9 - B i t C o u n t e r Watchdog Timer PBC Register PBC.0 PBC Register PBC.1 PB data Register PB.0 PB data Register PB.1 Output Function 0 0 1 X PB0=BZ, PB1=BZ 0 0 0 X PB0=0, PB1=0 0 1 1 X PB0=BZ, PB1=Input 0 1 0 X PB0=0, PB1=Input 1 0 X D PB0=Input, PB1=D 1 1 X X PB0=Input, PB1=Input PB0/PB1 Pin Function Control Note: ²X² stands for don¢t care ²D² stands for data ²0² or ²1² |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |