Download Print this page

Renesas R8C/11 Application Note page 18

Hide thumbs Also See for R8C/11:

Advertisement

Adjusting the Frequency of the High-speed On-chip Oscillator Using a Commercial Frequency
/* 60Hz judgement */
/* Equal to 60Hz */
if (dat == 166){
/* More than 60Hz */
}else if (dat < 166){
/* Less than 60Hz */
}else if (dat > 166){
}
}
}
REJ05B0471-0100Z/Rev.1.00
if (hr1 != 0x00){
prc0 = 1;
--hr1;
prc0 = 0;
}
if (hr1 < 0x7f){
prc0 = 1;
++hr1;
prc0 = 0;
}
/* Protect off */
/* Sub high-speed on-chip oscillator register1 */
/* Protect on */
/* Protect off */
/* Add high-speed on-chip oscillator register1 */
/* Protect on */
July 2004
R8C/11, R8C/13 Group
Page 18 of 21

Advertisement

loading

This manual is also suitable for:

R8c/13