参数资料
型号: AT42QT1110-AZ
厂商: ATMEL CORP
元件分类: 速度传感器和接近开关
英文描述: PROXIMITY SENSOR-CAPACITIVE, 0-5V, SQUARE, SURFACE MOUNT
封装: 7 X 7 MM, 1 MM HEIGHT, 0.80 MM PITCH, ROHS COMPLIANT, PLASTIC, TQFP-32
文件页数: 31/46页
文件大小: 657K
代理商: AT42QT1110-AZ
39
4519 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PRELIMINAR
Y
Notice:
This
is not
a final
specification.
Some
parametric
limits
are
subject
to change.
LA
0
; (02)
TV1A
; The SNZT1 instruction is valid ........
LA
0
; (02)
TW5A
; Period measurement circuit stop
NOP
...........................................................
SNZT1
; The SNZT1 instruction is executed
(T1F flag cleared)
NOP
...........................................................
: these bits are not used here.
Fig. 27 Period measurement circuit program example
(7) Period measurement function (Timer 1,
period measurement circuit)
Timer 1 has the period measurement circuit which performs timer
count operation synchronizing with the one cycle of the signal di-
vided by 16 of a built-in ring oscillator, D6/CNTR0 pin input, or
P30/INT0 pin input (one cycle, “H”, or “L” pulse width at the case
of a P30/INT0 pin input).
When the target signal for period measurement is set by bits 0
and 1 of register W5, a period measurement circuit is started by
setting the bit 2 of register W5 to “1”.
Then, if a XIN input is set as the count source of a timer 1 and the
bit 2 of register W1 is set to “1”, timer 1 starts operation.
Timer 1 starts operation synchronizing with the falling edge of the
target signal for period measurement, and stops count operation
synchronizing with the next falling edge (one-period generation
circuit).
When selecting D6/CNTR0 pin input as target signal for period
measurement, the period measurement synchronous edge can
be changed into a rising edge by setting the bit 2 of register W6
to “1”.
When selecting P30/INT0 pin input as target signal for period
measurement, period measurement synchronous edge can be
changed into a rising edge by setting the bit 2 of register I1 to “1”.
A timer 1 interrupt request flag (T1F) is set to “1” after completing
measurement operation.
When a period measurement circuit is set to be operating, timer
1 interrupt request flag (T1F) is not set by timer 1 underflow sig-
nal, but turns into a flag which detects the completion of period
measurement.
In addition, a timer 1 underflow signal can be used as timer 2
count source.
Once period measurement operation is completed, even if period
measurement valid edge is input next, timer 1 is in a stop state
and measurement data is held.
When a period measurement circuit is used again, stop a period
measurement circuit at once by setting the bit 2 of register W5 to
“0”, and change a period measurement circuit into a state of op-
eration by setting the bit 2 of register W5 to “1” again.
When a period measurement circuit is used, clear bit 0 of regis-
ter I1 to “0”, and set a timer 1 count start synchronous circuit to
be “not selected”.
Start timer operation immediately after operation of a period
measurement circuit is started.
When the target edge for measurement is input until timer opera-
tion is started from the operation of period measurement circuit is
started, the count operation is not executed until the timer opera-
tion becomes valid. Accordingly, be careful of count data.
When data is read from timer, stop the timer and clear bit 2 of
register W5 to “0” to stop the period measurement circuit, and
then execute the data read instruction.
Depending on the state of timer 1, the timer 1 interrupt request
flag (T1F) may be set to “1” when the period measurement cir-
cuit is stopped by clearing bit 2 of register W5 to “0”. In order to
avoid the occurrence of an unexpected interrupt, clear the bit 2 of
register V1 to “0” (refer to Figure 27) and then, stop the bit 2 of
register W5 to “0” to stop the period measurement circuit.
In addition, execute the SNZT1 instruction to clear the T1F flag
after executing at least one instruction (refer to Figure 27).
Also, set the NOP instruction for the case when a skip is per-
formed with the SNZT1 instruction (refer to Figure 27).
When a period measurement circuit is used, select the suffi-
ciently higher-speed frequency than the signal for measurement
for the count source of a timer 1.
When the target signal for period measurement is D6/CNTR0 pin
input, do not select D6/CNTR0 pin input as timer 1 count source.
(The XIN input is recommended as timer 1 count source at the
time of period measurement circuit use.)
(8) Pulse width measurement function (timer
1, period measurement circuit)
A period measurement circuit can measure “H” pulse width (from
rising to falling) or “L” pulse width (from falling to rising) of P30/
INT0 pin input (pulse width measurement function) when the fol-
lowing is set;
Set the bit 0 of register W5 to “0”, and set a bit 1 to “1” (target
for period measurement circuit: 30/INT0 pin input).
Set the bit 1 of register I1 to “1” (INT0 pin edge detection circuit:
both edges detection)
The measurement pulse width (“H” or “L”) is decided by the pe-
riod measurement circuit and the P30/INT0 pin input level at the
start time of timer operation.
At the time of the start of a period measurement circuit and timer
operation, “L” pulse width (from falling to rising) when the input
level of P30/INT0 pin is “1” or “H” pulse width (from rising to fall-
ing) when its level is “0” is measured.
When the input of P30/INT0 pin is selected as the target for mea-
surement, set the bit 3 of register I1 to “1”, and set the input of
INT0 pin to be enabled.
相关PDF资料
PDF描述
AT42QT1110-MZ PROXIMITY SENSOR-CAPACITIVE, 0-5V, SQUARE, SURFACE MOUNT
AT42QT1111-AU PROXIMITY SENSOR-CAPACITIVE, 0-5V, SQUARE, SURFACE MOUNT
AT76C453AC-MY19T IMAGE SENSOR-CMOS, 708(H) X 494(V) PIXEL, 30fps, SURFACE MOUNT
ATF-33143-TR2 X BAND, Si, N-CHANNEL, RF SMALL SIGNAL, HEMFET
ATF-33143-BLK X BAND, Si, N-CHANNEL, RF SMALL SIGNAL, HEMFET
相关代理商/技术参数
参数描述
AT42QT1110-MU 功能描述:电容触摸传感器 QTouch 11 Key Touch Sensor IC RoHS:否 制造商:Microchip Technology 电源电压: 通道数量: 封装 / 箱体: 尺寸: 温度范围:
AT42QT1110-MU QS470 功能描述:IC TOUCH SENSOR 11KEY 32QFN RoHS:是 类别:集成电路 (IC) >> 数据采集 - 触摸屏控制器 系列:QTouch™ 标准包装:96 系列:- 类型:- 触摸面板接口:- 输入数/键:- 分辨率(位):- 评估套件:* 数据接口:- 数据速率/采样率 (SPS,BPS):- 电压基准:- 电源电压:- 电流 - 电源:- 工作温度:- 安装类型:表面贴装 封装/外壳:16-TSSOP(0.173",4.40mm 宽) 供应商设备封装:16-TSSOP 包装:带卷 (TR)
AT42QT1110-MUR 功能描述:QTOUCH 11 KEY TOUCH SENSOR IC 制造商:microchip technology 系列:* 包装:剪切带(CT) 零件状态:在售 封装/外壳:32-VFQFN 裸露焊盘 供应商器件封装:32-QFN(5x5) 标准包装:1
AT42QT1110-MZ 功能描述:电容触摸传感器 QTouch 11 Key Touch Sensor IC RoHS:否 制造商:Microchip Technology 电源电压: 通道数量: 封装 / 箱体: 尺寸: 温度范围:
AT42QT1111-AU 功能描述:电容触摸传感器 QTouch 11 Key Touch Sensor IC RoHS:否 制造商:Microchip Technology 电源电压: 通道数量: 封装 / 箱体: 尺寸: 温度范围: