2004-05-18 11:16 PM
2004-05-18 04:58 AM
I want to read the RCCR0 register then load it into the RCCR register to accurately set my clock speed. I tried using a pointer to address (0x01000h) as it states in the user manual but this didn't seem to work. Any ideas???
2004-05-18 11:03 PM
In cosmic you would define the locations:
const BYTE RCCR0 @0xFFDE; const BYTE RCCR1 @0xFFDF; RCCR = RCCR0; // load calibration value in asm: #define RCCR0 $FFDE #define RCCR0 $FFDF ld A, RCCR0 ld RCCR, A ; load calibration value Regards sjo2004-05-18 11:16 PM
Thanks!!