參數(shù)資料
型號(hào): PCPIC
英文描述: PC(ISA)BUS I/O CARD
中文描述: 電腦(ISA)總線(xiàn)的I / O卡
文件頁(yè)數(shù): 21/40頁(yè)
文件大?。?/td> 468K
代理商: PCPIC
the timebase and its input frequency; the timebase counter is used in
mode 1, triggered by a write to the TRIGTB register.
In this example we assume that the input frequency is fed into input
RC3 on PL1.
Make LK1B to feed 25kHz into the timebase.
Set the timebase counter to 250, to create a 10ms clock in mode 1:
Write 32H to pointer 3
Write FAH to pointer 0
Write 00 to pointer 0
Set the PCPIC up for frequency inputs, clock via timebase:
Write 48H to pointer 12H
Set up (for example) counter 0 in mode 0, and write 255 to its count
registers. This will count down from 65535 when the gate is opened.
Write 70 H to pointer 3
Write FFH to pointer 1
Write FFH to pointer 1
Trigger the timebase by writing anything (say 0) to the TRIGTB
register
Write 00 to pointer 0DH
Wait for 10ms. Alternatively use the multiple latch command to read
the status of the timebase counter. This will allow you to read the
output pin state; in mode 1 the output will be low to keep the gate
open and allow counter 0 to count, so wait until it goes high:
Write E2H to pointer 3
Read one byte from pointer 0
Test bit 7. If this is 0 loop by writing E2H again
Once the 10ms is over you should check that at least one transition
has occurred at the input pin. If you don't, it is possible that you will
not detect zero frequency properly. To do this, use a multiple latch
command to check the valid count bit.
Write E4H to pointer 3
Read one byte from pointer 1
If bit 6 is high no counts have happened so the frequency is zero.
If the frequency is not zero, read counter 0 to see how many counts
have accumulated.
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. Note
J230 PCPIC
Page 21
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 功能描述:電線(xiàn)導(dǎo)管 Pan Pole Replacement Parts Kit (includes RoHS:否 制造商:Panduit 類(lèi)型:Slotted SideWall Open finger design wiring cut 材料:Polypropylene 顏色:Light Gray 大小: 最大光束直徑: 抗拉強(qiáng)度: 外部導(dǎo)管寬度:25 mm 外部導(dǎo)管高度:25 mm
PCPKITIW 功能描述:電線(xiàn)導(dǎo)管 Pan Pole Replacement Parts Kit (includes RoHS:否 制造商:Panduit 類(lèi)型: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:是 類(lèi)別:RF/IF 和 RFID >> RF 天線(xiàn) 系列:* 標(biāo)準(zhǔn)包裝:1 系列:*