DMP Electronics eBOX-3350MX-AP Uživatelský manuál Strana 33

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 112
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 32
386SX Single Chip PC Jan Yin Chan Electronics Co.,LTD.
DM&P M6117D : System on a chip
Page 32
Jan Yin Chan Electronics Co,. LTD. M6117D 386SX Single Chip PC
8F-1,No.22,Wuchyuan 2RD.,Hsin Chuang city Taipei Hsien, Taiwan, R.O.C. Tel: 886-(02) 2298-0770 Fax: (02) 2299-1883
4.6 The way to generate system management interrupt
4.6.1 Mode timer time-out
There is a Mode timer in power management unit of M6117D, this is based on 14.318 Mhz frequency input. There are four
time bases 1 sec, 10 secs, 1 min and 10 mins. The timer counter is from 0 to 15, so the combinations are as follows :
Time Time base
count
1 sec 10 sec 1 min 10 min
0 0 sec 0 sec 0 min 0 mins
1 1 sec 10 secs 1 min 10 mins
2 2 secs 20 secs 2 mins 20 mins
3 3 secs 30 secs 3 mins 30 mins
4 4 secs 40 secs 4 mins 40 mins
5 5 secs 50 secs 5 mins 50 mins
6 6 secs 60 secs 6 mins 60 mins
7 7 secs 70 secs 7 mins 70 mins
8 8 secs 80 secs 8 mins 80 mins
9 9 secs 90 secs 9 mins 90 mins
10 10 secs 100 secs 10 mins 100 mins
11 11 secs 110 secs 11 mins 110 mins
12 12 secs 120 secs 12 mins 120 mins
13 13 secs 130 secs 13 mins 130 mins
14 14 secs 140 secs 14 mins 140 mins
15 15 secs 150 secs 15 mins 150 mins
e.g. There are two possible settings for two minutes, (a) 10 secs time base, time count is 12.
(b) 1 minute time base, time count is 2.
The BIOS should choose the small time base to reduce time shift. In other words, small time base is more precise than
bigger time base.
The configuration register index 64h is the timer setting.
Index 64h
D[7-4] Time count
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 10
1011 11
1100 12
1101 13
1110 14
1111 15
Index 64h
D[2] Timer count/reset
0 Timer reset
1 Timer count
D[1-0] Time base
0 0 1 second
0 1 10 seconds
1 0 1 minute
1 1 10 minutes
Once the mode timer counter is equal to the time count
setting, then the time-out occurs. Time-out will generate a
system management interrupt and index 5Bh will show 06h
to manifest the interrupt cause. Notice that you should set
index 59h : D[5] to ‘1’ to activate mode timer even if you
have already set the index 64h. We can prolong time delay
for double of our time setting by programming index 69h :
D[4] to ‘1’ which is double counter time base control bit.
When timer is enabled, any access to monitored device
range, the corresponding timer will reset and restart
counting until time-out is reached. For instance, mode
Zobrazit stránku 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 111 112

Komentáře k této Příručce

Žádné komentáře