參數(shù)資料
型號(hào): TINY88-15MZ
廠商: Atmel
文件頁數(shù): 225/245頁
文件大?。?/td> 0K
描述: MCU AVR 8KB FLASH 12MHZ 32-QFN
產(chǎn)品培訓(xùn)模塊: MCU Product Line Introduction
tinyAVR Introduction
標(biāo)準(zhǔn)包裝: 5,000
系列: AVR® ATtiny
核心處理器: AVR
芯體尺寸: 8-位
速度: 16MHz
連通性: I²C,SPI
外圍設(shè)備: 欠壓檢測(cè)/復(fù)位,POR,WDT
輸入/輸出數(shù): 28
程序存儲(chǔ)器容量: 8KB(8K x 8)
程序存儲(chǔ)器類型: 閃存
EEPROM 大小: 64 x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 125°C
封裝/外殼: 32-VFQFN 裸露焊盤
包裝: 托盤
第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頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁當(dāng)前第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁
80
9157C–AVR–03/12
Atmel ATtiny88 Automotive
11.6.2
Clear Timer on Compare Match (CTC) Mode
In Clear Timer on Compare or CTC mode (CTC0 = 1), the OCR0A Register is used to manipu-
late the counter resolution. In CTC mode the counter is cleared to zero when the counter value
(TCNT0) matches the OCR0A. The OCR0A defines the top value for the counter, hence also its
resolution. This mode allows greater control of the compare match output frequency. It also sim-
plifies the operation of counting external events.
The timing diagram for the CTC mode is shown in Figure 11-4. The counter value (TCNT0)
increases until a compare match occurs between TCNT0 and OCR0A, and then counter
(TCNT0) is cleared.
Figure 11-4. CTC Mode, Timing Diagram
An interrupt can be generated each time the counter value reaches the TOP value by using the
OCF0A Flag. If the interrupt is enabled, the interrupt handler routine can be used for updating
the TOP value. However, changing TOP to a value close to BOTTOM when the counter is run-
ning with none or a low prescaler value must be done with care since the CTC mode does not
have the double buffering feature. If the new value written to OCR0A is lower than the current
value of TCNT0, the counter will miss the compare match. The counter will then have to count to
its maximum value (0xFF) and wrap around starting at 0x00 before the compare match can
occur.
As for the Normal mode of operation, the TOV0 Flag is set in the same timer clock cycle that the
counter counts from MAX to 0x00.
11.7
Timer/Counter Timing Diagrams
The Timer/Counter is a synchronous design and the timer clock (clk
T0) is therefore shown as a
clock enable signal in the following figures. The figures include information on when interrupt
flags are set. Figure 11-5 contains timing data for basic Timer/Counter operation. The figure
shows the count sequence close to the MAX value in all modes.
TCNTn
OCnx Interrupt Flag Set
1
4
Period
2
3
相關(guān)PDF資料
PDF描述
VE-BW1-IW CONVERTER MOD DC/DC 12V 100W
ATTINY84V-10MUR MCU AVR 8KB FLASH 10MHZ 20QFN
VE-B2V-IX-F2 CONVERTER MOD DC/DC 5.8V 75W
ATTINY84-20MUR MCU AVR 8KB FLASH 20MHZ 20QFN
ATTINY26L-8MUR IC MCU AVR 2K 5V 8MHZ 32QFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TINY-BWA 制造商:HCC Embedded 功能描述:TINY FILE SYSTEM FOR BYTE WRITABLE ARRAYS - Virtual or Non-Physical Inventory (Software & Literature)
TINY-RAM 制造商:HCC Embedded 功能描述:TINY FILE SYSTEM FOR RAM - Virtual or Non-Physical Inventory (Software & Literature)
TIOL1113DMWT 功能描述:IO LINK 制造商:texas instruments 系列:- 包裝:剪切帶(CT) 零件狀態(tài):在售 類型:收發(fā)器 協(xié)議:I/O 鏈路 驅(qū)動(dòng)器/接收器數(shù):1/1 雙工:- 接收器滯后:750mV 數(shù)據(jù)速率:250kbps 電壓 - 電源:7 V ~ 36 V 工作溫度:-40°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:10-VFDFN 裸露焊盤 供應(yīng)商器件封裝:10-VSON(3x2.5) 標(biāo)準(zhǔn)包裝:1
TIOL1115DMWT 功能描述:IO-LINK DEVICE TRANSCEIVERS WITH 制造商:texas instruments 系列:- 包裝:剪切帶(CT) 零件狀態(tài):在售 類型:收發(fā)器 協(xié)議:I/O 鏈路 驅(qū)動(dòng)器/接收器數(shù):1/1 雙工:- 接收器滯后:750mV 數(shù)據(jù)速率:250kbps 電壓 - 電源:7 V ~ 36 V 工作溫度:-40°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:10-VFDFN 裸露焊盤 供應(yīng)商器件封裝:10-VSON(3x2.5) 標(biāo)準(zhǔn)包裝:1
TIOL111DMWT 功能描述:IO-LINK DEVICE TRANSCEIVERS WITH 制造商:texas instruments 系列:- 包裝:剪切帶(CT) 零件狀態(tài):在售 類型:收發(fā)器 協(xié)議:I/O 鏈路 驅(qū)動(dòng)器/接收器數(shù):1/1 雙工:- 接收器滯后:750mV 數(shù)據(jù)速率:250kbps 電壓 - 電源:7 V ~ 36 V 工作溫度:-40°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:10-VFDFN 裸露焊盤 供應(yīng)商器件封裝:10-VSON(3x2.5) 標(biāo)準(zhǔn)包裝:1