亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲(chóng)蟲(chóng)首頁(yè)| 資源下載| 資源專(zhuān)輯| 精品軟件
登錄| 注冊(cè)

您現(xiàn)在的位置是:蟲(chóng)蟲(chóng)下載站 > 資源下載 > 單片機(jī)編程 > Input Signal Rise and Fall Tim

Input Signal Rise and Fall Tim

  • 資源大小:94 K
  • 上傳時(shí)間: 2013-10-23
  • 上傳用戶(hù):zpne
  • 資源積分:2 下載積分
  • 標(biāo)      簽: Signal Input Fall Rise

資 源 簡(jiǎn) 介

All inputs of the C16x family have Schmitt-Trigger input characteristics. These Schmitt-
Triggers are intended to always provide proper internal low and high levels, even if an
undefined voltage level (between TTL-VIL and TTL-VIH) is externally applied to the pin.
The hysteresis of these inputs, however, is very small, and can not be properly used in an
application to suppress signal noise, and to shape slow rising/falling input transitions.
Thus, it must be taken care that rising/falling input signals pass the undefined area of the
TTL-specification between VIL and VIH with a sufficient rise/fall time, as generally usual
and specified for TTL components (e.g. 74LS series: gates 1V/us, clock inputs 20V/us).
The effect of the implemented Schmitt-Trigger is that even if the input signal remains in
the undefined area, well defined low/high levels are generated internally. Note that all
input signals are evaluated at specific sample points (depending on the input and the
peripheral function connected to it), at that signal transitions are detected if two
consecutive samples show different levels. Thus, only the current level of an input signal
at these sample points is relevant, that means, the necessary rise/fall times of the input
signal is only dependant on the sample rate, that is the distance in time between two
consecutive evaluation time points. If an input signal, for instance, is sampled through
software every 10us, it is irrelevant, which input level would be seen between the
samples. Thus, it would be allowable for the signal to take 10us to pass through the
undefined area. Due to the sample rate of 10us, it is assured that only one sample can
occur while the signal is within the undefined area, and no incorrect transition will be
detected. For inputs which are connected to a peripheral function, e.g. capture inputs, the
sample rate is determined by the clock cycle of the peripheral unit. In the case of the
CAPCOM unit this means a sample rate of 400ns @ 20MHz CPU clock. This requires
input signals to pass through the undefined area within these 400ns in order to avoid
multiple capture events.
For input signals, which do not provide the required rise/fall times, external circuitry must
be used to shape the signal transitions.
In the attached diagram, the effect of the sample rate is shown. The numbers 1 to 5 in the
diagram represent possible sample points. Waveform a) shows the result if the input
signal transition time through the undefined TTL-level area is less than the time distance
between the sample points (sampling at 1, 2, 3, and 4). Waveform b) can be the result if
the sampling is performed more than once within the undefined area (sampling at 1, 2, 5,
3, and 4).
Sample points:
1. Evaluation of the signal clearly results in a low level
2. Either a low or a high level can be sampled here. If low is sampled, no transition will
be detected. If the sample results in a high level, a transition is detected, and an
appropriate action (e.g. capture) might take place.
3. Evaluation here clearly results in a high level. If the previous sample 2) had already
detected a high, there is no change. If the previous sample 2) showed a low, a
transition from low to high is detected now.

相 關(guān) 資 源

主站蜘蛛池模板: 子洲县| 邹平县| 武义县| 邵武市| 永顺县| 青冈县| 饶阳县| 崇州市| 泰和县| 榆中县| 高阳县| 弋阳县| 常宁市| 石河子市| 合江县| 灌云县| 辽中县| 上饶市| 宁河县| 鱼台县| 泾川县| 泊头市| 普兰店市| 大名县| 南开区| 康乐县| 彰化市| 新泰市| 康平县| 汤阴县| 饶平县| 万安县| 河池市| 怀远县| 彝良县| 侯马市| 义乌市| 陇川县| 仁布县| 宾川县| 禹州市|