| ??? 03/14/06 13:02 Read: times |
#112119 - i have set it in another init funtion Responding to: ???'s previous message |
i put this power on initialisation code in some other funtion
that function initialises the clock, crossbar, ios timers, etc. i use timer 3 for uart0 baud rate generator.
SFRPAGE = 0x01;
TMR3CF = 0x08; // 0 Timer 3 Configuration
RCAP3L = 0xE6; // Timer 3 Reload Register Low Byte
RCAP3H = 0xFF; // Timer 3 Reload Register High Byte
TMR3H = 0x00; // Timer 3 High Byte
TMR3L = 0x00; // Timer 3 Low Byte
TMR3CN = 0x04; // Timer 3 Control Register
haribabu |



