Bit And PIC PWM Calculator

16bitのビット計算とPICマイコンのPWM設定値を求めることができる

7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8
decimal hexadecimal

7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8
decimal hexadecimal

7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8
decimal hexadecimal

PIC Timer2 (PWM)

Clock Frequency [Hz] PWM Frequency [Hz] Duty Ratio

Prescaler Postscaler PR2
1 1
4 1
16 1
64 1

7 6 5 4 3 2 1 0
decimal hexadecimal
T2CON
7 6 5 4 3 2 1 0
decimal hexadecimal
CCP1CON
7 6 5 4 3 2 1 0
decimal hexadecimal
CCPR1L