參數(shù)資料
型號: ATTINY15L-1SU
廠商: Atmel
文件頁數(shù): 22/85頁
文件大小: 0K
描述: IC MCU AVR 1K FLASH 1.6MHZ 8SOIC
標(biāo)準(zhǔn)包裝: 95
系列: AVR® ATtiny
核心處理器: AVR
芯體尺寸: 8-位
速度: 1.6MHz
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 6
程序存儲器容量: 1KB(512 x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 64 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 4x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 8-SOIC(0.209",5.30mm 寬)
包裝: 管件
29
ATtiny15L
1187H–AVR–09/07
The Timer/Counter1 contains two Output Compare Registers, OCR1A and OCR1B, as
the data source to be compared with the Timer/Counter1 contents. In Normal mode the
Output Compare function is operational with OCR1A only, and the Output Compare
function includes optional clearing of the counter on compare match, and action on the
Output Compare pin (PB1) (OC1A).
In PWM mode OCR1A provides the data value against which the Timer/Counter value is
compared. Upon compare match the PWM output is generated. In PWM mode The
Timer/Counter counts up to the value specified in Output Compare Register OCR1B
and starts again from $00. This feature allows limiting the counter “full” value to a speci-
fied value, lower than $FF. However, if OCR1n is $00, the output will remain constant
and not toggle at all. If OCR1n equals $01, the pulse width will be two ticks, increasing
linearly if OCR1n is larger than $01. Together with the many prescaler options, flexible
PWM frequency selection is provided. Table 14 lists clock selection and OCR1B values
to obtain PWM frequencies from 10 kHz to 150 kHz at 10 kHz steps.
In applications with variable PWM, halving the prescaler setting and doubling the duty
cycle can be used to fine-tune the PWM. Alternatively inverted PWM can be used.
The Timer/Counter1 Control
Register – TCCR1
Bit 7 – CTC1: Clear Timer/Counter on Compare Match
When the CTC1 control bit is set (one), Timer/Counter1 is reset to $00 in the CPU clock
cycle after a compare match with OCR1A Register value. If the control bit is cleared,
Timer/Counter1 continues counting and is unaffected by a compare match.
Bit 6 – PWM1: Pulse Width Modulator Enable
When set (one), this bit enables PWM mode for Timer/Counter1. This mode is described
Bits 5,4 – COM1A1, COM1A0: Compare Output Mode, Bits 1 and 0
The COM1A1 and COM1A0 control bits determine any output pin action following a
compare match A in Timer/Counter1. Output pin actions affect pin PB1(OC1A). Since
this is an alternative function to an I/O port, the corresponding direction control bit must
be set (one) to control an output pin. The control configuration is shown in Table 10.
Note:
1. In PWM mode, these bits have a different function. Refer to Table 12 for a detailed
description.When changing the COM1A1/COM1A0 bits, the Output Compare 1A
Interrupt must be disabled by clearing its Interrupt Enable bit in the TIMSK Register.
Otherwise an interrupt can occur when the bits are changed.
Bit
7
6
5
4
3
2
1
0
$30
CTC1
PWM1
COM1A1
COM1A0
CS13
CS12
CS11
CS10
TCCR1
Read/Write
R/W
Initial Value
0
Table 10. Compare Mode Select(1)
COM1A1
COM1A0
Description
0
Timer/Counter disconnected from output pin OC1A
0
1
Toggle the OC1A output line.
1
0
Clear the OC1A output line (to zero).
1
Set the OC1A output line (to one).
相關(guān)PDF資料
PDF描述
ATTINY2313-20SUR IC MCU AVR 2K FLASH 20SOIC
ATTINY2313A-MMHR IC MCU AVR 2K FLASH 3X3 20QFN
ATTINY26-16MQR IC MCU AVR 2K 16MHZ IND 32QFN
ATTINY26L-8PU IC MCU AVR 2K 5V 8MHZ 20-DIP
ATTINY28V-1AUR IC MCU AVR 2K 1.2MHZ 1.8V 32TQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATTINY15L-1SU SL383 制造商:Atmel Corporation 功能描述:AVR, 1K FLASH, 64B EE, ADC, 8
ATTINY15POD 功能描述:仿真器/模擬器 AVR ICE10 POD REPLACEMENT RoHS:否 制造商:Blackhawk 產(chǎn)品:System Trace Emulators 工具用于評估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
ATTINY1614-SSFR 功能描述:IC MCU 8BIT 16KB FLASH 14SOIC 制造商:microchip technology 系列:tinyAVR? 1 包裝:剪切帶(CT) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,IrDA,LIN,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):12 程序存儲容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 容量:256 x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 14x10b,D/A 3x8b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 125°C(TA) 封裝/外殼:14-SOIC(0.154",3.90mm 寬) 供應(yīng)商器件封裝:14-SOIC 標(biāo)準(zhǔn)包裝:1
ATTINY1614-SSNR 功能描述:IC MCU 8BIT 16KB FLASH 14SOIC 制造商:microchip technology 系列:tinyAVR? 1 包裝:剪切帶(CT) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,IrDA,LIN,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):12 程序存儲容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 容量:256 x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 14x10b,D/A 3x8b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:14-SOIC(0.154",3.90mm 寬) 供應(yīng)商器件封裝:14-SOIC 標(biāo)準(zhǔn)包裝:1
ATTINY1616-MFR 功能描述:IC MCU 8BIT 16KB FLASH 20QFN 制造商:microchip technology 系列:tinyAVR? 1 包裝:剪切帶(CT) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,IrDA,LIN,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):18 程序存儲容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 容量:256 x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 20x10b,D/A 3x8b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 125°C(TA) 封裝/外殼:20-VFQFN 裸露焊盤 供應(yīng)商器件封裝:20-VQFN(3x3) 標(biāo)準(zhǔn)包裝:1