数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

CS5535 数据表(PDF) 101 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 CS5535
功能描述  Geode??CS5535 I/O Companion Multi-Function South Bridge
PDF  555 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

CS5535 数据表(HTML) 101 Page - National Semiconductor (TI)

Back Button CS5535 Datasheet HTML 97Page - National Semiconductor (TI) CS5535 Datasheet HTML 98Page - National Semiconductor (TI) CS5535 Datasheet HTML 99Page - National Semiconductor (TI) CS5535 Datasheet HTML 100Page - National Semiconductor (TI) CS5535 Datasheet HTML 101Page - National Semiconductor (TI) CS5535 Datasheet HTML 102Page - National Semiconductor (TI) CS5535 Datasheet HTML 103Page - National Semiconductor (TI) CS5535 Datasheet HTML 104Page - National Semiconductor (TI) CS5535 Datasheet HTML 105Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 101 / 555 page
background image
Revision 0.8
101
www.national.com
PIT Functional Description (Continued)
4.7.1
Programming the 8254 PIT
Programming of the 8254 PIT is initiated by first writing one
control word via I/O Address 043h into the PIT Mode Con-
trol Word register. It is followed by writing one or two data
bytes via the I/O address of the intended counter. If the
Control register is loaded once, the counters may be over-
written with different values without accessing the Control
register again. Table 4-11 lists the I/O addresses of the var-
ious registers.
The Control register in the 8254 PIT is write-only, but cer-
tain control information can be determined by the read-
back (read-status) command.
4.7.1.1
Write to the Counters
To load a counter with new values, a control word needs to
output that defines the intended counter, number and type
of bytes to write, the counting mode and the counting for-
mat. Bits [5:4] of the Control Word register (see Section
5.8.2.7 on page 329) indicate whether low-order or high-
order or both are going to be written. If low-order or high-
order counter byte only is specified to be written, then only
that byte can be read during a read access. According to
bits [5:4] of the Control Word register, one needs to write
either the low-order or the high-order or both into the
counter after passing the control word. If bits [5:4] of the
Control Word register is 11, then a low-order byte needs to
be written first, followed by a high-order byte. For small
counting values or counting values that are multiples of
256, it is sufficient to pass the low-order or high-order
counter byte. Bits [3:1] of the Control Word register define
the counting mode of the counter selected by bits [5:4]. Bit
0 of the Control Word register defines the binary or BCD
counting format. The maximum loadable count value is not
FFFFh (binary counting) or 9999 (BCD counting), but 0. On
the next CLK pulse the counter concerned jumps to FFFFh
or 9999. Once the value is decreased to 0 again, it outputs
a signal according to the programmed mode. Therefore,
the value 0 corresponds to 2^16 for binary counting and
10^4 for BCD counting.
Read from the Counters
There are three options for reading a counter in the 8254
PIT:
1)
Counter Latch command
2)
Read-back (read-status) command
3)
Direct Read
To read a counter, the third option (Direct Read) should not
be used. The Counter Latch command or Read-back com-
mand should be used to transfer the current state of the
counter into its output latches. One or two successive read
counter instructions for the port address of the counter con-
cerned reads these latches. If only the low-order or high-
order byte was written when the counter was loaded with
the initial counting value, then read the current counting
value of the initially written byte by a single read counter
instruction. If both the low-order and high-order counter
bytes are written previously, then to read the current
counter value, two read counter instructions are needed.
The 8254 PIT returns the low-order byte of the 16-bit
counter with the first read counter instruction, and then the
high-order byte with the second read counter instruction. If
the content of the counter has been transferred once by a
counter latch command into the output latches, then this
value is held there until the CPU executes one or two
counter read instructions, or until the corresponding
counter is reprogrammed. Successive counter latch com-
mands are ignored if the output latches haven’t been read
before. Figure 4-15 shows the format of the control word for
the counter latch command.
Figure 4-15. PIT Counter Latch Command Format
Table 4-11. 8254 PIT Register Ports
I/O Address
Register
Access Type
040h
Counter 0
Read/ Write
041h
Counter 1
Read / Write
042h
Counter 2
Read / Write
043h
Control Word
Write
Bits [7:6] = Select counter to latch
7654321
0
0
0
xxxx



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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