參數(shù)資料
型號(hào): MQ83C154XXX-16/883D
廠商: TEMIC SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQFP44
文件頁數(shù): 184/204頁
文件大?。?/td> 5687K
代理商: MQ83C154XXX-16/883D
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁當(dāng)前第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁
80
ATtiny40 [DATASHEET]
8263B–AVR–01/2013
clock as the TCNT1 value is copied into Input Capture Register. If enabled (ICIE1=1), the Input Capture Flag gen-
erates an Input Capture interrupt. The ICF1 flag is automatically cleared when the interrupt is executed.
Alternatively the ICF1 flag can be cleared by software by writing a logical one to its I/O bit location.
12.5.1
Input Capture Trigger Source
The trigger source for the Input Capture unit is the Input Capture pin (ICP1).
The Input Capture pin (ICP1) input is sampled using the same technique as for the T1 pin (Figure 12-4 on page
88). The edge detector is also identical. However, when the noise canceler is enabled, additional logic is inserted
before the edge detector, which increases the delay by four system clock cycles. An Input Capture can also be trig-
gered by software by controlling the port of the ICP1 pin.
12.5.2
Noise Canceler
The noise canceler improves noise immunity by using a simple digital filtering scheme. The noise canceler input is
monitored over four samples, and all four must be equal for changing the output that in turn is used by the edge
detector.
The noise canceler is enabled by setting the Input Capture Noise Canceler (ICNC1) bit in Timer/Counter Control
Register A (TCCR1A). When enabled the noise canceler introduces additional four system clock cycles of delay
from a change applied to the input, to the update of the ICR1 Register. The noise canceler uses the system clock
and is therefore not affected by the prescaler.
12.5.3
Using the Input Capture Unit
The main challenge when using the Input Capture unit is to assign enough processor capacity for handling the
incoming events. The time between two events is critical. If the processor has not read the captured value in the
ICR1 Register before the next event occurs, the ICR1 will be overwritten with a new value. In this case the result of
the capture will be incorrect.
When using the Input Capture interrupt, the ICR1 Register should be read as early in the interrupt handler routine
as possible. The maximum interrupt response time is dependent on the maximum number of clock cycles it takes
to handle any of the other interrupt requests.
Measurement of an external signal’s duty cycle requires that the trigger edge is changed after each capture.
Changing the edge sensing must be done as early as possible after the ICR1 Register has been read. After a
change of the edge, the Input Capture Flag (ICF1) must be cleared by software (writing a logical one to the I/O bit
location). For measuring frequency only, the trigger edge change is not required (if an interrupt handler is used).
12.6
Output Compare Unit
The comparator continuously compares Timer/Counter (TCNT1) with the Output Compare Registers (OCR1A and
OCR1B), and whenever the Timer/Counter equals to the Output Compare Regisers, the comparator signals a
match. A match will set the Output Compare Flag at the next timer clock cycle. In 8-bit mode the match can set
either the Output Compare Flag OCF1A or OCF1B, but in 16-bit mode the match can set only the Output Compare
Flag OCF1A as there is only one Output Compare Unit. If the corresponding interrupt is enabled, the Output Com-
pare Flag generates an Output Compare interrupt. The Output Compare Flag is automatically cleared when the
interrupt is executed. Alternatively, the flag can be cleared by software by writing a logical one to its I/O bit location.
Figure 12-3 shows a block diagram of the Output Compare unit.
相關(guān)PDF資料
PDF描述
MR87C251SB16 8-BIT, UVPROM, 16 MHz, MICROCONTROLLER, CQCC44
MC87C251SB16 8-BIT, UVPROM, 16 MHz, MICROCONTROLLER, CDIP40
MR87C51FC 8-BIT, UVPROM, MICROCONTROLLER, CQCC44
MD87C51FC-16 8-BIT, UVPROM, 16 MHz, MICROCONTROLLER, CDIP40
MT80C51T-36R 8-BIT, MROM, 36 MHz, MICROCONTROLLER, PQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MQ86 制造商:TE Connectivity 功能描述:
MQ8797BH 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Intel 功能描述:
MQ87C196KC/R 制造商:Rochester Electronics LLC 功能描述:
MQ87C196KD-16/B 制造商:Rochester Electronics LLC 功能描述:
MQ87C196KD-20/R 制造商:Rochester Electronics LLC 功能描述: