參數(shù)資料
型號: PIC16F872T-E/SS
廠商: Microchip Technology
文件頁數(shù): 152/167頁
文件大?。?/td> 0K
描述: IC MCU CMOS 20MHZ 2K FLSH 28SSOP
標準包裝: 2,100
系列: PIC® 16F
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,SPI
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數(shù): 22
程序存儲器容量: 3.5KB(2K x 14)
程序存儲器類型: 閃存
EEPROM 大小: 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)
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描述
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 安裝風格: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 安裝風格: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 安裝風格:SMD/SMT
PIC16F873-04/SO 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F873 SOIC28