arch/mips/src/pic32mz/pic32mz-config.h: Make the PLL input clock configurable.
This commit is contained in:
parent
99111c2af8
commit
2d6e4bd26b
@ -384,11 +384,16 @@
|
|||||||
# define CONFIG_PIC32MZ_UPLLFSEL DEVCFG2_UPLLFSEL_24MHZ
|
# define CONFIG_PIC32MZ_UPLLFSEL DEVCFG2_UPLLFSEL_24MHZ
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Not yet configurable settings (REVISIT) */
|
/* System PLL Input Clock Select bit */
|
||||||
|
|
||||||
/* System PLL Input Clock Select bit */
|
#undef CONFIG_PIC32MZ_FPLLICLK
|
||||||
#define CONFIG_PIC32MZ_FPLLICLK 0 /* POSC is selected as input to the System PLL */
|
#if defined(BOARD_FPLLICLK_FRC)
|
||||||
/* USB PLL Input Frequency Select bit */
|
# define CONFIG_PIC32MZ_FPLLICLK DEVCFG2_FPLLICLK
|
||||||
|
#else
|
||||||
|
# define CONFIG_PIC32MZ_FPLLICLK 0 /* POSC is selected as input to the System PLL */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* USB PLL Input Frequency Select bit */
|
||||||
|
|
||||||
/* DEVCFG1 */
|
/* DEVCFG1 */
|
||||||
/* Configurable settings */
|
/* Configurable settings */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user