參數(shù)資料
型號: MCV18ET-I/SO
元件分類: 微控制器/微處理器
英文描述: FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO18
封裝: 7.50 MM, LEAD FREE, SOIC-18
文件頁數(shù): 64/108頁
文件大?。?/td> 1509K
代理商: MCV18ET-I/SO
2009 Microchip Technology Inc.
DS41399A-page 59
MCV18E
8.3.4
OPERATION IN SLEEP MODE
In Sleep mode, the TMR2 register will not increment
and the state of the module will not change. If the CCP1
pin is driving a value, it will continue to drive that value.
When the device wakes up, TMR2 will continue from its
previous state.
8.3.5
CHANGES IN SYSTEM CLOCK
FREQUENCY
The PWM frequency is derived from the system clock
frequency. Any changes in the system clock frequency
will result in changes to the PWM frequency.
8.3.6
EFFECTS OF RESET
Any Reset will force all ports to Input mode and the
CCP registers to their Reset states.
8.3.7
SETUP FOR PWM OPERATION
The following steps should be taken when configuring
the CCP module for PWM operation:
1.
Disable the PWM pin (CCP1) output drivers by
setting the associated TRIS bit.
2.
Set the PWM period by loading the PR2 register.
3.
Configure the CCP module for the PWM mode
by loading the CCP1CON register with the
appropriate values.
4.
Set the PWM duty cycle by loading the CCPR1L
register and DC1B bits of the CCP1CON register.
5.
Configure and start Timer2:
Clear the TMR2IF interrupt flag bit of the
PIR1 register.
Set the Timer2 prescale value by loading the
T2CKPS bits of the T2CON register.
Enable Timer2 by setting the TMR2ON bit of
the T2CON register.
6.
Enable PWM output after a new PWM cycle has
started:
Wait until Timer2 overflows (TMR2IF bit of
the PIR1 register is set).
Enable the CCP1 pin output driver by
clearing the associated TRIS bit.
相關(guān)PDF資料
PDF描述
MCV18E-I/P 32-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDIP18
MD8086-2/B 16-BIT, 8 MHz, MICROPROCESSOR, CDIP40
MD80C154-12/883D 8-BIT, 12 MHz, MICROCONTROLLER, CDIP40
MR83C154TXXX-20/883 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CQCC44
MR83C154XXX-20/883D 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CQCC44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC-V190H 制造商:Panasonic Industrial Company 功能描述:FILTER KIT
M-CV193H 制造商:Panasonic Industrial Company 功能描述:OD005
MC-V193H 制造商:Panasonic Industrial Company 功能描述:FILTER KIT
MCV19ES 制造商:Mencom 功能描述:
MCV-19FP-FW 制造商:Mencom 功能描述: