123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
-
-
- #include "clockMan1.h"
-
- clock_manager_user_config_t clockMan1_InitConfig0 = {
- .siuConfig =
- {
- .SIU_CRC = false,
- .SIU_DSPIA = false,
- .SIU_DSPIB = false,
- .SIU_DSPIC = false,
- .SIU_DSPID = false,
- .SIU_ENET = false,
- .SIU_FLEXCANA = true,
- .SIU_FLEXCANB = true,
- .SIU_FLEXCANC = true,
- .SIU_FLEXCAND = true,
- .SIU_EMIOS0 = false,
- .SIU_EMIOS1 = false,
- .SIU_CSE = false,
- .SIU_PSI = false,
- .SIU_ESCIA = false,
- .SIU_ESCIB = false,
- .SIU_ESCIC = false,
- .SIU_ESCID = false,
- .SIU_ESCIE = false,
- .SIU_ESCIF = false,
- .SIU_PSI5A = false,
- .SIU_PSI5B = false,
- .SIU_DECFIL = false,
- .SIU_ETPUC = false,
- .SIU_NPC = false,
- .SIU_PIT = true,
- .SIU_STCU = false,
- .SIU_SRX0 = false,
- .SIU_SRX1 = false,
- .SIU_EQADCA = false,
- .SIU_EQADCB = false,
- .SIU_SDD = false,
- .SIU_SIPI = false,
- .SIU_SDA = false,
- .SIU_SDB = false,
- .SIU_SDC = false,
- .SIU_MCANB = true,
- .SIU_EBI = false,
- .SIU_ETPUA = false,
- .SIU_DSPIE = false,
- .SIU_MCANA = true,
-
- .pll0Reference = PLL_REFERENCE_IRCOSC,
- .pll1Reference = PLL_REFERENCE_PLL0_PHI1,
-
- .scs = SIU_SYSTEM_CLOCK_SRC_PLL0_PHI0,
-
- .coreClk = SIU_CLOCK_DIV_BY_1,
- .pbridgeClk = SIU_CLOCK_DIV_BY_2,
- .perClkSel = SIU_PER_CLK_SEL_CORE_CLK,
- .perClk = SIU_CLOCK_DIV_BY_2,
- .etpuClk = SIU_CLOCK_DIV_BY_1,
- .adcsdClk = SIU_CLOCK_DIV_BY_1,
- .psi5Rx = SIU_CLOCK_DIV_BY_1,
- .psi5Rx1M = SIU_CLOCK_DIV_BY_1,
- .lfastSel = SIU_LFASTx_SEL_PER_CLK,
- .lfastClk = SIU_CLOCK_DIV_BY_1,
- .mcanSel = SIU_MCAN_CLK_SEL_XOSC_CLK,
-
- .clkout = SIU_CLOCK_DIV_BY_1,
- .engClkoutSel = SIU_ENG_CLOCKOUT_XOSC_CLK,
- .engClkout = SIU_CLOCK_DIV_BY_1,
- },
-
- .clockSourcesConfig =
- {
- .xosc0Config =
- {
- .freq = 40000000,
- .startupDelay = 1,
- .bypassOption = XOSC_USE_CRYSTAL,
- },
- .pll0Config =
- {
- .enable = true,
- .predivider = PLLDIG_CLOCK_PREDIV_BY_1,
- .mulFactorDiv = 20,
- .phi0Divider = PLLDIG_PHI_DIV_BY_2,
- .phi1Divider = PLLDIG_PHI_DIV_BY_4,
- },
- .pll1Config =
- {
- .enable = true,
- .mulFactorDiv = 10,
- .fracDivider = true,
- .fracDividerValue = 0,
- .phi0Divider = PLLDIG_PHI_DIV_BY_5,
- .modulation = false,
- .modulationType = CENTRE_SPREAD_MODULATION,
- .modulationPeriod = 0,
- .incrementStep = 0,
- .rectangularDitherControl = false,
- .rectangularDitherControlValue = 0,
- .triangularDitherControl = false,
- .triangularDitherControlValue = 0,
- },
-
- .sipiRefClkFreq0 = 0U,
-
- },
-
- .cmuConfig =
- {
- .cmu_rcdiv = CMU_LO_FREQ_1,
- .cmu =
- {
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- {
- .enable = false,
- .lo_freq = 0,
- .hi_freq = 4095,
- },
- },
- },
-
- };
- clock_manager_user_config_t const * g_clockManConfigsArr[] = {
- &clockMan1_InitConfig0
- };
- clock_manager_callback_user_config_t * g_clockManCallbacksArr[] = {(void*)0};
|