Datasheet 搜索 > 微控制器 > ATMEL(爱特美尔) > ATTINY85V-10SU 数据手册 > ATTINY85V-10SU 数据手册 101/236 页


¥ 9.825
ATTINY85V-10SU 数据手册 - ATMEL(爱特美尔)
制造商:
ATMEL(爱特美尔)
分类:
微控制器
封装:
SOIC-8
描述:
ATMEL ATTINY85V-10SU 微控制器, 8位, 低功率高性能, ATtiny, 10 MHz, 8 KB, 512 Byte, 8 引脚, SOIC
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
引脚图在P2P57Hot
典型应用电路图在P117
原理图在P4P7P55P67P70P71P73P87P88P99P100P111
封装尺寸在P212P213P214P215P216P224
型号编码规则在P209P210P211P226P227
封装信息在P212
功能描述在P112
应用领域在P33
电气规格在P143P209P225
导航目录
ATTINY85V-10SU数据手册
Page:
of 236 Go
若手册格式错乱,请下载阅览PDF原文件

101
2586M–AVR–07/10
ATtiny25/45/85
13.2.1 Timer/Counter1 in PWM Mode
When the PWM mode is selected, Timer/Counter1 and the Output Compare Register A -
OCR1A form an 8-bit, free-running and glitch-free PWM generator with output on the
PB1(OC1A).
When the counter value match the content of OCR1A, the OC1A and output is set or cleared
according to the COM1A1/COM1A0 bits in the Timer/Counter1 Control Register A - TCCR1, as
shown in Table 13-1.
Timer/Counter1 acts as an up-counter, counting from $00 up to the value specified in the output
compare register OCR1C, and starting from $00 up again. A compare match with OCR1C will
set an overflow interrupt flag (TOV1) after a synchronization delay following the compare event.
Note that in PWM mode, writing to the Output Compare Register OCR1A, the data value is first
transferred to a temporary location. The value is latched into OCR1A when the Timer/Counter
reaches OCR1C. This prevents the occurrence of odd-length PWM pulses (glitches) in the event
of an unsynchronized OCR1A. See Figure 13-4 for an e xample.
Figure 13-4. Effects of Unsynchronized OCR Latching
During the time between the write and the latch operation, a read from OCR1A will read the con-
tents of the temporary location. This means that the most recently written value always will read
out of OCR1A.
Table 13-1. Compare Mode Select in PWM Mode
COM1A1 COM1A0 Effect on Output Compare Pin
0 0 OC1A not connected.
0 1 OC1A not connected.
1 0 OC1A cleared on compare match. Set when TCNT1 = $00.
1 1 OC1A set on compare match. Cleared when TCNT1 = $00.
PWM Output OC1A
PWM Output OC1A
Unsynchronized OC1A Latch
Synchronized OC1A Latch
Counter Value
Compare Value
Counter Value
Compare Value
Compare Value changes
Glitch
Compare Value changes
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件