18 lines
701 B
C
18 lines
701 B
C
#ifndef MCUCONF_H
|
|
#define MCUCONF_H
|
|
|
|
#define LPC11U35_MCUCONF
|
|
|
|
#define LPC_USE_SYSOSC TRUE
|
|
#define LPC_SYSOSC_FREQUENCY 12000000UL // 12MHz
|
|
#define LPC_SYSPLLCLKSEL SYSCON_SYSPLLCLKSEL_SYSOSC
|
|
#define LPC_MAINCLKSEL SYSCON_MAINCLKSEL_PLLOUT
|
|
#define LPC_SYSPLL_MULT 4 // MVALUE 4 -> bits 0b00011
|
|
#define LPC_SYSPLL_PDIV 4 // PSEL 2 -> bits 0b01
|
|
#define LPC_SYS_DIV 1 // NO SYS DIV
|
|
|
|
#define LPC_USB_USE_USB1 TRUE
|
|
#define LPC_USB_USB1_IRQ_PRIORITY 3
|
|
|
|
#endif
|