欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18F4431-I/P 参数 Datasheet PDF下载

PIC18F4431-I/P图片预览
型号: PIC18F4431-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚增强型闪存微控制器采用纳瓦技术,高性能PWM和A / D [28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 3127 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F4431-I/P的Datasheet PDF文件第188页浏览型号PIC18F4431-I/P的Datasheet PDF文件第189页浏览型号PIC18F4431-I/P的Datasheet PDF文件第190页浏览型号PIC18F4431-I/P的Datasheet PDF文件第191页浏览型号PIC18F4431-I/P的Datasheet PDF文件第193页浏览型号PIC18F4431-I/P的Datasheet PDF文件第194页浏览型号PIC18F4431-I/P的Datasheet PDF文件第195页浏览型号PIC18F4431-I/P的Datasheet PDF文件第196页  
PIC18F2331/2431/4331/4431  
REGISTER 18-5: DTCON: DEAD-TIME CONTROL REGISTER  
R/W-0  
R/W-0  
R/W-0  
DT5  
R/W-0  
DT4  
R/W-0  
DT3  
R/W-0  
DT2  
R/W-0  
DT1  
R/W-0  
DT0  
DTPS1  
DTPS0  
bit 7  
bit 0  
Legend:  
R = Readable bit  
-n = Value at POR  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
bit 7-6  
DTPS<1:0>: Dead-Time Unit A Prescale Select bits  
11= Clock source for dead-time unit is FOSC/16  
10= Clock source for dead-time unit is FOSC/8  
01= Clock source for dead-time unit is FOSC/4  
00= Clock source for dead-time unit is FOSC/2  
bit 5-0  
DT<5:0>: Unsigned 6-Bit Dead-Time Value for Dead-Time Unit bits  
18.7.2  
DEAD-TIME RANGES  
18.7.3  
DECREMENTING THE DEAD-TIME  
COUNTER  
The amount of dead time provided by the dead-time  
unit is selected by specifying the input clock prescaler  
value and a 6-bit unsigned value defined in the DTCON  
register. Four input clock prescaler selections have  
been provided to allow a suitable range of dead times  
based on the device operating frequency. FOSC/2,  
FOSC/4, FOSC/8 and FOSC/16 are the clock prescaler  
options available using the DTPS<1:0> control bits in  
the DTCON register.  
The dead-time counter is clocked from any of the Q  
clocks based on the following conditions.  
1. The dead-time counter is clocked on Q1 when:  
• The DTPS bits are set to any of the following  
dead-time prescaler settings: FOSC/4,  
FOSC/8, FOSC/16  
• The PWM Time Base Prescale bits  
(PTCKPS) are set to any of the following  
prescale ratios: FOSC/16, FOSC/64, FOSC/256  
After selecting an appropriate prescaler value, the  
dead time is adjusted by loading a 6-bit unsigned value  
into DTCON<5:0>. The dead-time unit prescaler is  
cleared on any of the following events:  
2. The dead-time counter is clocked by a pair of Q  
clocks when the PWM Time Base Prescale bits  
are set to 1:1 (PTCKPS<1:0> = 00, FOSC/4) and  
the dead-time counter is clocked by the FOSC/2  
(DTPS<1:0> = 00).  
• On a load of the down timer due to a duty cycle  
comparison edge event;  
• On a write to the DTCON register; or  
• On any device Reset.  
3. The dead-time counter is clocked using every  
other Q clock, depending on the two LSbs in the  
Duty Cycle registers:  
• If the PWM duty cycle match occurs on Q1 or  
Q3, then the dead-time counter is clocked  
using every Q1 and Q3.  
• If the PWM duty cycle match occurs on Q2 or  
Q4, then the dead-time counter is clocked  
using every Q2 and Q4.  
4. When the DTPS<1:0> bits are set to any of the  
other dead-time prescaler settings (i.e., FOSC/4,  
FOSC/8 or FOSC/16) and the PWM time base  
prescaler is set to 1:1, the dead-time counter is  
clocked by the Q clock corresponding to the Q  
clocks on which the PWM duty cycle match  
occurs.  
DS39616D-page 192  
2010 Microchip Technology Inc.  
 复制成功!