參數(shù)資料
型號: PIC16F872T-E/SS
廠商: Microchip Technology
文件頁數(shù): 153/167頁
文件大?。?/td> 0K
描述: IC MCU CMOS 20MHZ 2K FLSH 28SSOP
標(biāo)準(zhǔn)包裝: 2,100
系列: PIC® 16F
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,SPI
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 22
程序存儲器容量: 3.5KB(2K x 14)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 64 x 8
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 4 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 5x10b
振蕩器型: 外部
工作溫度: -40°C ~ 125°C
封裝/外殼: 28-SSOP(0.209",5.30mm 寬)
包裝: 帶卷 (TR)
86
8048C–AVR–02/12
ATtiny43U
also its resolution. This mode allows greater control of the Compare Match output frequency. It
also simplifies the operation of counting external events.
The timing diagram for the CTC mode is shown in Figure 12-5 on page 86. The counter value
(TCNTn) increases until a Compare Match occurs between TCNTn and OCRnA, and then coun-
ter (TCNTn) is cleared.
Figure 12-5. CTC Mode, Timing Diagram
An interrupt can be generated each time the counter value reaches the TOP value by using the
OCFnA 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 OCRnA is lower than the current
value of TCNTn, 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.
For generating a waveform output in CTC mode, the OCnA output can be set to toggle its logical
level on each Compare Match by setting the Compare Output mode bits to toggle mode
(COMnA[1:0] = 1). The OCnA value will not be visible on the port pin unless the data direction
for the pin is set to output. The waveform generated will have a maximum frequency of f
OCnx =
f
clk_I/O/2 when OCRnA is set to zero (0x00). The waveform frequency is defined by the following
equation:
The N variable represents the prescale factor (1, 8, 64, 256, or 1024).
As for the Normal mode of operation, the TOVn Flag is set in the same timer clock cycle that the
counter counts from MAX to 0x00.
12.7.3
Fast PWM Mode
The fast Pulse Width Modulation or fast PWM mode (WGMn[2:0] = 3 or 7) provides a high fre-
quency PWM waveform generation option. The fast PWM differs from the other PWM option by
its single-slope operation. The counter counts from BOTTOM to TOP then restarts from BOT-
TOM. TOP is defined as 0xFF when WGMn[2:0] = 3, and OCRnA when WGMn[2:0] = 7. In non-
inverting Compare Output mode, the Output Compare (OCnx) is cleared on the Compare Match
between TCNTn and OCRnx, and set at BOTTOM. In inverting Compare Output mode, the out-
TCNTn
OCn
(Toggle)
OCnx Interrupt Flag Set
1
4
Period
2
3
(COMnx[1:0] = 1)
f
OCnx
fclk_I/O
2 N
1
OCRnx
+
()
--------------------------------------------------
=
相關(guān)PDF資料
PDF描述
3-1734248-6 CONN FPC/ZIF 36POS 1MM VERT SMD
PIC16F872T-E/SO IC MCU CMOS 20MHZ 2K FLSH 28SOIC
PIC16F727-E/P IC PIC MCU FLASH 8KX14 40-DIP
PIC16F871T-E/PT IC MCU CMOS 20MHZ 2K FLSH 44TQFP
PIC16F871T-E/L IC MCU CMOS 20MHZ 2K FLSH 44PLCC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16F872T-I/SO 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F872T-I/SS 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F872T-I/SS033 制造商:Microchip Technology Inc 功能描述:
PIC16F873-04/SO 功能描述:8位微控制器 -MCU 7KB 192 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F873-04/SO 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F873 SOIC28