Update trunk, HSI, HSE, main PLL function