<< Previous | Next >>

set32kHzDivider

void set32kHzDivider( int setting );

Description

Sets the expanded 32kHz oscillator divider for the Rabbit 3000 processor. This function does not enable running the 32kHz oscillator instead of the main clock. This function will affect the actual rate used by the processor when the 32kHz oscillator has been enabled to run by a call to use32kHzOsc().

This function is not task reentrant.

Parameter

setting
32kHz divider setting. The following are valid:

  • OSC32DIV_1 - don't divide 32kHz oscillator

  • OSC32DIV_2 - divide 32kHz oscillator by two

  • OSC32DIV_4 - divide 32kHz oscillator by four

  • OSC32DIV_8 - divide 32kHz oscillator by eight

  • OSC32DIV_16 - divide 32kHz oscillator by sixteen

Library

SYS.LIB

See Also

useClockDivider, useClockDivider3000, useMainOsc, use32kHzOsc


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