Searched refs:clock_source (Results 1 – 6 of 6) sorted by relevance
728 uint32_t clock_source = (R_CPG_CPG_SPI_SSEL_SELSPI_SET_Msk & R_CPG->CPG_SPI_SSEL) >> in bsp_prv_clock_divider_set() local731 if (BSP_CLOCKS_SOURCE_CLOCK_PLL3_400 == clock_source) in bsp_prv_clock_divider_set()735 else if (BSP_CLOCKS_SOURCE_CLOCK_PLL3_266 == clock_source) in bsp_prv_clock_divider_set()739 else if (BSP_CLOCKS_SOURCE_CLOCK_PLL6_250 == clock_source) in bsp_prv_clock_divider_set()778 uint32_t clock_source = (R_CPG_CPG_SPI_SSEL_SELSPI_SET_Msk & R_CPG->CPG_SPI_SSEL) >> in bsp_prv_clock_divider_set() local781 if (BSP_CLOCKS_SOURCE_CLOCK_PLL3_400 == clock_source) in bsp_prv_clock_divider_set()785 else if (BSP_CLOCKS_SOURCE_CLOCK_PLL3_266 == clock_source) in bsp_prv_clock_divider_set()789 else if (BSP_CLOCKS_SOURCE_CLOCK_PLL6_250 == clock_source) in bsp_prv_clock_divider_set()828 uint32_t clock_source = (R_CPG_CPG_OCTA_SSEL_SELOCTA_SET_Msk & R_CPG->CPG_OCTA_SSEL) >> in bsp_prv_clock_divider_set() local831 if (BSP_CLOCKS_SOURCE_CLOCK_PLL3_400 == clock_source) in bsp_prv_clock_divider_set()[all …]
107 static fsp_err_t r_lpm_check_clocks(uint32_t clock_source);764 fsp_err_t r_lpm_check_clocks (uint32_t clock_source) in r_lpm_check_clocks() argument767 FSP_ERROR_RETURN(LPM_CLOCK_HOCO == clock_source, FSP_ERR_INVALID_MODE); in r_lpm_check_clocks()853 uint32_t clock_source = R_SYSTEM->SCKSCR; in r_lpm_low_power_enter() local862 FSP_ERROR_RETURN(FSP_SUCCESS == r_lpm_check_clocks(clock_source), FSP_ERR_INVALID_MODE); in r_lpm_low_power_enter()894 … FSP_ERROR_RETURN(FSP_SUCCESS == r_lpm_check_clocks(clock_source), FSP_ERR_INVALID_MODE); in r_lpm_low_power_enter()916 if (LPM_CLOCK_HOCO == clock_source) in r_lpm_low_power_enter()
121 spi_b_clock_source_t clock_source; ///< Communication clock source (TCLK). member182 fsp_err_t R_SPI_B_CalculateBitrate(uint32_t bitrate, spi_b_clock_source_t clock_source, rspck_div_s…
196 sci_uart_clock_source_t clock_source; member217 sci_uart_clock_source_t clock_source,
363 fsp_err_t R_SPI_B_CalculateBitrate (uint32_t bitrate, spi_b_clock_source_t clock_source, rspck_div_… in R_SPI_B_CalculateBitrate() argument367 if (SPI_B_CLOCK_SOURCE_PCLK == clock_source) in R_SPI_B_CalculateBitrate()536 spcr |= (uint32_t) (p_extend->clock_source << R_SPI_B0_SPCR_BPEN_Pos); in r_spi_b_hw_config()
967 sci_uart_clock_source_t clock_source, in R_SCI_UART_BaudCalculate() argument993 if (SCI_UART_CLOCK_SOURCE_PCLKM == clock_source) in R_SCI_UART_BaudCalculate()1000 …_SystemClockHzGet((fsp_priv_clock_t) ((uint8_t) FSP_PRIV_CLOCK_PCLKSCI0 + (uint8_t) clock_source)); in R_SCI_UART_BaudCalculate()1335 if (SCI_UART_CLOCK_SOURCE_PCLKM == p_extend->clock_source) in r_sci_uart_config_set()