Войти:
Оценок - 4, средний балл: 3.8 ( )

Инструкция по эксплуатации Acer, модель TPC-1261H

Производитель: Acer
Размер: 10.37 mb
Название файла: TPC-1261H_Manual_ed1.pdf
Язык инструкции:en
Перейти к скачиванию



Фрагмент инструкции


This section describes the operation of the watchdog timer, and how to program it. The watchdog timer is built into the super I/O controller W83627HF. It provides the following functions for user programming: • Can be enabled and disabled by user's program. • Timer can be set from 1 to 255 seconds or 1 to 255 minutes. • Generates an interrupt or resets signal if the software fails to reset the timer after time-out. TPC-1261H User Manual 48 B.2 Watchdog Timer Programming The I/O port address of the watchdog timer is 2E(hex) and 2F(hex), 2E (hex) is the address port. 2F(hex) is the data port. You must first assign the address of register by writing address value into address port 2E(hex), then write/read data to/from the assigned register through data port 2F (hex). Figure B.1: Watchdog timer programming procedure 49 Chapter B Table B.1: Watchdog Timer Registers Address of register (2E) Attribute Description Read/Write Value (2F) and description 87 (hex) ----Write this address to I/O address port 2E (hex) twice to unlock the W83627HF 07 (hex) write Write 08 (hex) to select register of watchdog timer. 30 (hex) write Write 01 (hex) to enable the function of the watchdog timer. Disabled is set as default. F5 (hex) write Set seconds or minutes as units for the timer. Write 0 to bit 3: set second as counting unit. [default] Write 1 to bit 3: set minute as counting unit F6 (hex) write 0: stop timer [default]01~FF (hex): The amount of the count, in seconds or minutes, depends on the value set in register F5 (hex). This number decides how long the watchdog timer waits for strobe before generating an interrupt or reset signal. Writing a new value to this register can reset the timer to count with the new value. F7 (hex) rd/wr Bit 6: Write 1 to enable keyboard to reset the timer, 0 to disable.[default] Bit 5: Write 1 to generate a timeout signal immediately and automatically return to 0. [default=0] Bit 4: Read status of watchdog timer, 1 means timer is "time out". AA (hex) ----Write this address to I/O port 2E (hex) to lock the watchdog timer.2 TPC-1261H User Manual 50 B.3 Example Programs 1. Enable watchdog timer and set 10 sec. as timeout interval ;----------------------------------------------------------- Mov dx,2eh ; Unlock W83627HF Mov al,87h Out dx,al Out dx,al ;----------------------------------------------------------- Mov al,07h ; Select registers of watchdog timer Out dx,al Inc dx Mov al,08h Out dx,al ;----------------------------------------------------------- Dec dx ; Enable the function of watchdog timer Mov al,30h Out dx,al Inc dx Mov al,01h Out dx,al ;----------------------------------------------------------- Dec dx ; Set second as counting unit Mov al,0f5h Out dx,al Inc dx In al,dx And al,not 08h Out dx,al ;----------------------------------------------------------- Dec dx ; Set timeout interval as 10 seconds and start counting Mov al,0f6h 51 Chapter B Out dx,al Inc dx Mov al,10 Out dx,al ;----------------------------------------------------------- Dec dx ; lock W83627HF Mov al,0aah Out dx,al 2. Enable watchdog timer and set 5 minutes as timeout interval ;----------------------------------------------------------- Mov dx,2eh ; unlock W83627H Mov al,87h Out dx,al Out dx,al ;----------------------------------------------------------- Mov al,07h ; Select registers of watchdog timer Out dx,al Inc dx Mov al,08h Out dx,al ;----------------------------------------------------------- Dec dx ; Enable the function of watchdog timer Mov al,30h Out dx,al Inc dx Mov al,01h Out dx,al ;----------------------------------------------------------- Dec dx ; Set minute as counting unit Mov al,0f5h TPC-1261H User Manual 52 Out dx,al Inc dx In al,dx Or al,08h Out dx,al ;----------------------------------------------------------- Dec dx ; Set timeout interval as 5 minutes and start counting Mov al,0f6h Out dx,al Inc dx Mov al,5 Out dx,al ;----------------------------------------------------------- Dec dx ; lock W83627HF Mov al,0aah Out dx,al 3. Enable watchdog timer to be reset by mouse ;----------------------------------------------------------- Mov dx,2eh ; unlock W83627H Mov al,87h Out dx,al Out dx,al ;----------------------------------------------------------- Mov al,07h ; Select registers of watchdog timer Out dx,al Inc dx Mov al,08h Out dx,al ;----------------------------------------------------------- Dec dx ; Enable the function of watchdog timer 53 Chapter B Mov al,30h Out dx,al Inc dx Mov al,01h Out dx,al ;----------------------------------------------------------- Dec dx ; Enable watchdog timer to be reset by mouse Mov al,0f7h Out dx,al Inc dx In al,dx Or al,80h Out dx,al ;----------------------------------------------------------- Dec dx ; lock W83627HF Mov al,0aah Out dx,al 4. Enable watchdog timer to be reset by keyboard ;----------------------------------------------------------- Mov dx,2eh ; unlock W83627H Mov al,87h Out dx,al Out dx,al ;----------------------------------------------------------- Mov al,07h...

Эта инструкция также подходит к моделям:
Мониторы - TPC-1261H (10.37 mb)
Мониторы - TPC-1261H (10.37 mb)
Мониторы - TPC-1261H (10.37 mb)
Мониторы - TPC-1261H (10.37 mb)

Напишите ваш отзыв об устройстве



Текст отзыва
Ваше имя:
Введите две цифры:
capcha





Категории