You are on page 1of 5

Desured PWM period Prescaler Tosc Timer Ticks

0.0083 1 8.00E+06 16665.67


frequency 4 8.00E+06 4165.67
120 16 8.00E+06 1040.67
1 4.00E+06 8332.33
4 4.00E+06 2082.33
16 4.00E+06 519.83
1 2.00E+06 4165.67
4 2.00E+06 1040.67
16 2.00E+06 259.42
1 1.00E+06 2082.33
4 1.00E+06 519.83
16 1.00E+06 129.21
1 5.00E+05 1040.67
4 5.00E+05 259.42
16 5.00E+05 64.10
1 2.50E+05 519.83
4 2.50E+05 129.21
16 2.50E+05 31.55
1 1.25E+05 259.42
4 1.25E+05 64.10
16 1.25E+05 15.28
1 3.10E+04 63.58
4 3.10E+04 15.15
16 3.10E+04 3.04
CLOCK
2000000 Hz 0 seconds
INSTRUCTION
500000 Hz 0 seconds
DELAY
500000 instructions 1 seconds

Delay1TCY( 500000 );
Delay10TCYx( 50000 );
Delay100TCYx( 5000 );
Delay1KTCYx( 500 );
Delay10KTCYx( 50 );
BINARY
BINARY 10000000 10000000
OCTAL 7777 Err:502
DEC 1494 Err:502
HEX fc 11111100
OCT DECIMAL
200 128
7777 4095
2726 1494
374 252
HEX
80
FFF
5D6
fc

You might also like