亚洲欧美第一页_禁久久精品乱码_粉嫩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) 資 源

主站蜘蛛池模板: 安岳县| 甘孜| 阳高县| 大厂| 湘阴县| 怀化市| 莒南县| 抚宁县| 文登市| 威海市| 景谷| 肥西县| 吴堡县| 兴安盟| 黎平县| 丹棱县| 宜丰县| 普宁市| 安国市| 奉贤区| 磐安县| 奉贤区| 时尚| 龙门县| 阳新县| 耒阳市| 崇礼县| 建宁县| 璧山县| 嵩明县| 天祝| 望谟县| 望谟县| 永兴县| 东兰县| 夏津县| 海原县| 大邑县| 绥化市| 揭西县| 江孜县|