Home
last modified time | relevance | path

Searched refs:clock_source (Results 1 – 6 of 6) sorted by relevance

/hal_renesas-latest/drivers/rz/fsp/src/rzg/bsp/mcu/all/
Dbsp_clocks.c728 uint32_t clock_source = (R_CPG_CPG_SPI_SSEL_SELSPI_SET_Msk & R_CPG->CPG_SPI_SSEL) >> in bsp_prv_clock_divider_set() local
731 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() local
781 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() local
831 if (BSP_CLOCKS_SOURCE_CLOCK_PLL3_400 == clock_source) in bsp_prv_clock_divider_set()
[all …]
/hal_renesas-latest/drivers/ra/fsp/src/r_lpm/
Dr_lpm.c107 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() argument
767 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() local
862 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()
/hal_renesas-latest/drivers/ra/fsp/inc/instances/
Dr_spi_b.h121 spi_b_clock_source_t clock_source; ///< Communication clock source (TCLK). member
182 fsp_err_t R_SPI_B_CalculateBitrate(uint32_t bitrate, spi_b_clock_source_t clock_source, rspck_div_s…
/hal_renesas-latest/drivers/rz/fsp/inc/instances/rzn/
Dr_sci_uart.h196 sci_uart_clock_source_t clock_source; member
217 sci_uart_clock_source_t clock_source,
/hal_renesas-latest/drivers/ra/fsp/src/r_spi_b/
Dr_spi_b.c363 fsp_err_t R_SPI_B_CalculateBitrate (uint32_t bitrate, spi_b_clock_source_t clock_source, rspck_div_… in R_SPI_B_CalculateBitrate() argument
367 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()
/hal_renesas-latest/drivers/rz/fsp/src/rzn/r_sci_uart/
Dr_sci_uart.c967 sci_uart_clock_source_t clock_source, in R_SCI_UART_BaudCalculate() argument
993 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()