<< Previous | Next >>

useMainOsc

void useMainOsc( void );

Description

Sets the Rabbit processor to use the main oscillator for both the CPU and peripheral clock. If this is already set, there is no effect. This function also enables the periodic interrupt in case it was disabled by a call to use32kHzOsc(), and updates the TICK_TIMER, MS_TIMER, and SEC_TIMER variables from the real-time clock. This function is not task reentrant.

Library

SYS.LIB

See also

use32kHzOsc, useClockDivider


Dynamic C Functions << Previous | Next >> rabbit.com