Microchip Technology MCU PIC10F322T-I/OT SOT-23-6 MCP PIC10F322T-I/OT データシート
![Microchip Technology](https://files.manualsbrain.com/attachments/cf42c3c895ef469f06d2e47e97fd98d738fcf5cf/common/fit/150/50/7340124dc8aa983aaf764094e2f06faab86f306c03111c5817f7e4e53fb2/brand_logo.gif)
製品コード
PIC10F322T-I/OT
2011 Microchip Technology Inc.
Preliminary
DS41585A-page 107
PIC10(L)F320/322
18.0
PULSE-WIDTH MODULATION
(PWM) MODULE
(PWM) MODULE
The PWM module generates a Pulse-Width Modulated
signal determined by the duty cycle, period, and
resolution that are configured by the following registers:
• PR2
• T2CON
• PWMxDCH
• PWMxDCL
• PWMxCON
signal determined by the duty cycle, period, and
resolution that are configured by the following registers:
• PR2
• T2CON
• PWMxDCH
• PWMxDCL
• PWMxCON
shows a simplified block diagram of PWM
operation.
shows a typical waveform of the PWM
signal.
FIGURE 18-1:
SIMPLIFIED PWM BLOCK DIAGRAM
FIGURE 18-2:
PWM OUTPUT
PWMxDCH
Comparator
TMR2
Comparator
PR2
(1)
R
Q
S
Duty Cycle registers
PWMxDCL<7:6>
Clear Timer,
PWMx pin and
latch Duty Cycle
Note 1:
8-bit timer is concatenated with the two Least Significant bits of 1/F
OSC
adjusted by the Timer2
prescaler to create a 10-bit time base.
Latched
(Not visible to user)
Q
Output Polarity (PWMxPOL)
TMR2 Module
0
1
PWMxOUT
to other peripherals: CLC and CWG
PWMx
Output Enable (PWMxOE)
TRIS Control
Period
Pulse Width
TMR2 = 0
TMR2 =
TMR2 = PR2
PWMxDCH<7:0>:PWMxDCL<7:6>