gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:out_w from mtkernel_3/kernel/sysdepend/cpu/stm32l4/cpu_clock.c (0.00 seconds)
mtkernel_3
kernel/sysdepend/cpu/stm32l4/cpu_clock.c - 3.8KB - 107 lines
62: 
63:                 out_w(RCC_PLLCFGR, (RCC_PLLCFGR_INIT & ~RCC_PLLCFGR_PLLSRC) | pll_src);       // Set PLL
64: 
72: 73: out_w(RCC_PLLSAI1CFGR, RCC_PLLSAI1CFGR_INIT); // Set PLLSAI1 74:
81: 82: out_w(RCC_PLLSAI1CFGR, RCC_PLLSAI2CFGR_INIT); // Set PLLSAI2 83:
94: /* Set CFGR register */ 95: out_w(RCC_CFGR, (RCC_CFGR_INIT & ~RCC_CFGR_SW) | clk_sw); 96: while((*(_UW*)RCC_CFGR & RCC_CFGR_SW) != clk_sw);
98: /* Disable all interrupts */ 99: out_w(RCC_CIER, 0); 100: }