參數(shù)資料
型號: IV80C52XXX-L16R
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP44
封裝: 1.40 MM HEIGHT, VQFP-44
文件頁數(shù): 195/210頁
文件大?。?/td> 5175K
代理商: IV80C52XXX-L16R
第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頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁當(dāng)前第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁
85
8048C–AVR–02/12
ATtiny43U
Register bit for the OCnx pin (DDR_OCnx) must be set as output before the OCnx value is visi-
ble on the pin. The port override function is independent of the Waveform Generation mode.
The design of the Output Compare pin logic allows initialization of the OCnx state before the out-
put is enabled. Note that some COMnx[1:0] bit settings are reserved for certain modes of
12.6.1
Compare Output Mode and Waveform Generation
The Waveform Generator uses the COMnx[1:0] bits differently in Normal, CTC, and PWM
modes. For all modes, setting the COMnx[1:0] = 0 tells the Waveform Generator that no action
on the OCnx Register is to be performed on the next Compare Match. For compare output
actions in the non-PWM modes refer to Table 12-2 on page 92. For fast PWM mode, refer to
Table 12-3 on page 92, and for phase correct PWM refer to Table 12-4 on page 93.
A change of the COMnx[1:0] bits state will have effect at the first Compare Match after the bits
are written. For non-PWM modes, the action can be forced to have immediate effect by using
the FOCnx strobe bits.
12.7
Modes of Operation
The mode of operation, i.e., the behavior of the Timer/Counter and the Output Compare pins, is
defined by the combination of the Waveform Generation mode (WGMn[2:0]) and Compare Out-
put mode (COMnx[1:0]) bits. The Compare Output mode bits do not affect the counting
sequence, while the Waveform Generation mode bits do. The COMnx[1:0] bits control whether
the PWM output generated should be inverted or not (inverted or non-inverted PWM). For non-
PWM modes the COMnx[1:0] bits control whether the output should be set, cleared, or toggled
at a Compare Match (See “Modes of Operation” on page 85).
For detailed timing information refer to Figure 12-8 on page 90, Figure 12-9 on page 90, Figure
12.7.1
Normal Mode
The simplest mode of operation is the Normal mode (WGMn[2:0] = 0). In this mode the counting
direction is always up (incrementing), and no counter clear is performed. The counter simply
overruns when it passes its maximum 8-bit value (TOP = 0xFF) and then restarts from the bot-
tom (0x00). In normal operation the Timer/Counter Overflow Flag (TOVn) will be set in the same
timer clock cycle as the TCNTn becomes zero. The TOVn Flag in this case behaves like a ninth
bit, except that it is only set, not cleared. However, combined with the timer overflow interrupt
that automatically clears the TOVn Flag, the timer resolution can be increased by software.
There are no special cases to consider in the Normal mode, a new counter value can be written
anytime.
The Output Compare Unit can be used to generate interrupts at some given time. Using the Out-
put Compare to generate waveforms in Normal mode is not recommended, since this will
occupy too much of the CPU time.
12.7.2
Clear Timer on Compare Match (CTC) Mode
In Clear Timer on Compare or CTC mode (WGMn[2:0] = 2), the OCRnA Register is used to
manipulate the counter resolution. In CTC mode the counter is cleared to zero when the counter
value (TCNTn) matches the OCRnA. The OCRnA defines the top value for the counter, hence
相關(guān)PDF資料
PDF描述
ID80C32E-25SHXXX:D 8-BIT, 25 MHz, MICROCONTROLLER, CDIP40
IT83C154TXXX-36D 8-BIT, MROM, 36 MHz, MICROCONTROLLER, PQFP44
IF280C52EXXX-L16SHXXX 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP44
MD80C32-30 8-BIT, 30 MHz, MICROCONTROLLER, CDIP40
MD87C51FB-16 8-BIT, UVPROM, 16 MHz, MICROCONTROLLER, CDIP40
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
IV-811MX 制造商:Digital ID View 功能描述:8 CH H.264 DVR USB REMOTENO HDD 制造商:DIGITAL IDVIEW 功能描述:8 CH H.264 DVR USB REMOTE NO HDD
IV-811Z-960H-1000 制造商:Digital ID View 功能描述:8-Channel 960H i-Cloud Series DVR with 1TB HDD
IV-811Z-960H-500 制造商:Digital ID View 功能描述:8-Channel 960H i-Cloud Series DVR with 500GB HDD 制造商:DIGITAL IDVIEW 功能描述:8-CHNL ICLOUD 960H DVR 500GB HDD HDMI OUT
IV-811ZAECO-1000 制造商:Digital ID View 功能描述:8 Ch H.264 DVR D1 1Tbb Dvd
IV-811ZAECO-500 制造商:Digital ID View 功能描述:8 Ch H.264 DVR D1 500GB Dvd