參數(shù)資料
型號(hào): PCPIC
英文描述: PC(ISA)BUS I/O CARD
中文描述: 電腦(ISA)總線的I / O卡
文件頁(yè)數(shù): 23/40頁(yè)
文件大?。?/td> 468K
代理商: PCPIC
Read the less-significant byte from pointer 1
Read the more-significant byte from pointer 1
Turn these bytes into a 16-bit value and subtract from 65535.
This example shows how to count pulses on wire 3 of the ribbon-
cable, with no gating.
Write 00H to pointer 12H to set the board control register
Write 70H to pointer 3 to put counter 0 into mode 0
Write FFH to pointer 1 to define the less-significant count byte and
stop the counter
Write FFH to pointer 1 to define the more-significant count byte
and enable the counter
Read counter 0 to see how many counts have accumulated. - You
may wish to check for a null count.
Read the less-significant byte from pointer 1
Read the more-significant byte from pointer 1
Turn these bytes into a 16-bit value and subtract from 65535.
Measuring Time
Measuring time involves opening the counter gate with your input
signal(s) while feeding a known frequency into the counter clock
input. The known frequency comes from the timebase. As with
counting, there are three sorts of timing measurement - ungated
(where the counter is free-running), with an enable input per
counter and with a start and a stop input per counter. The
enable/start inputs are on group 2 and the stop inputs are on group
3. The flip-flops they control can be reset with the group 3 output.
The following example shows how to measure the time between
wire 23 on the ribbon-cable going low briefly and wire 33 going low,
using a 1ms timebase.
Write FCH to pointer 12H to set the board control register
Make LK1B to feed 25kHz into the timebase.
Set the timebase counter to 25, to create a 1ms clock in mode 3
Write 36H to pointer 3
Write 19H to pointer 0
Write 0 to pointer 0
Write 70H to pointer 3 to put counter 0 into mode 0
Write FFH to pointer 1 to define the less-significant count byte and
stop the counter
Write 01 to pointer 0CH to reset the input flip-flop
Write 00 to pointer 0CH to enable the input flip-flop
Write FFH to pointer 1 to define the more-significant count byte
J230 PCPIC
Page 23
2192-09155-000-000
相關(guān)PDF資料
PDF描述
PCR0.6 SCR
PCS1900BEBAND PCS 1900 BE BAND RECEIVE FILTER
PCSER4 PC(ISA)BUS I/O CARD
PCSS2 BESTUECKUNGSRAHMEN 500X220MM
PCSS4 BESTUECKUNGSRAHMEN 500X350MM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PCPIC1211DBXR 制造商:Texas Instruments 功能描述:
PCPKITEI 功能描述:電線導(dǎo)管 Pan Pole Replacement Parts Kit (includes RoHS:否 制造商:Panduit 類型:Slotted SideWall Open finger design wiring cut 材料:Polypropylene 顏色:Light Gray 大小: 最大光束直徑: 抗拉強(qiáng)度: 外部導(dǎo)管寬度:25 mm 外部導(dǎo)管高度:25 mm
PCPKITIW 功能描述:電線導(dǎo)管 Pan Pole Replacement Parts Kit (includes RoHS:否 制造商:Panduit 類型:Slotted SideWall Open finger design wiring cut 材料:Polypropylene 顏色:Light Gray 大小: 最大光束直徑: 抗拉強(qiáng)度: 外部導(dǎo)管寬度:25 mm 外部導(dǎo)管高度:25 mm
PCPL-17B 制造商:PMA 功能描述:20MM POLY. BLK CONT. PACK
PCPLHK 功能描述:ANT SUB YAGI 10-13 ELEMENT KIT RoHS:是 類別:RF/IF 和 RFID >> RF 天線 系列:* 標(biāo)準(zhǔn)包裝:1 系列:*