RCFAST through PLL16X
Constant: CLKMODE configuration settings.
RCFAST through PLL16X are Clock Mode Setting constants. They are explained in further detail in the _CLKMODE section.
RCFAST | Internal fast oscillator: | $00000001 | (%00000000001) |
RCSLOW | Internal slow oscillator: | $00000002 | (%00000000010) |
XINPUT | External clock/oscillator: | $00000004 | (%00000000100) |
XTAL1 | External low-speed crystal: | $00000008 | (%00000001000) |
XTAL2 | External medium-speed crystal: | $00000010 | (%00000010000) |
XTAL3 | External high-speed crystal: | $00000020 | (%00000100000) |
PLL1X | External frequency times 1: | $00000040 | (%00001000000) |
PLL2X | External frequency times 2: | $00000080 | (%00010000000) |
PLL4X | External frequency times 4: | $00000100 | (%00100000000) |
PLL8X | External frequency times 8: | $00000200 | (%01000000000) |
PLL16X | External frequency times 16: | $00000400 | (%10000000000) |
Note that they are enumerated constants and are not equivalent to the corresponding CLK register value. See CLK Register for information regarding how each constant relates to the CLK register bits.
Unless otherwise noted, content on this site is licensed under the
Creative Commons Attribution-ShareAlike 4.0 International License.