Home
last modified time | relevance | path

Searched refs:fsp_config (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_renesas_ra8_sci_b.c37 struct st_uart_cfg fsp_config; member
130 struct st_uart_cfg *fsp_config, in uart_ra_sci_b_apply_config() argument
141 fsp_config->parity = UART_PARITY_OFF; in uart_ra_sci_b_apply_config()
144 fsp_config->parity = UART_PARITY_ODD; in uart_ra_sci_b_apply_config()
147 fsp_config->parity = UART_PARITY_EVEN; in uart_ra_sci_b_apply_config()
161 fsp_config->stop_bits = UART_STOP_BITS_1; in uart_ra_sci_b_apply_config()
166 fsp_config->stop_bits = UART_STOP_BITS_2; in uart_ra_sci_b_apply_config()
178 fsp_config->data_bits = UART_DATA_BITS_7; in uart_ra_sci_b_apply_config()
181 fsp_config->data_bits = UART_DATA_BITS_8; in uart_ra_sci_b_apply_config()
184 fsp_config->data_bits = UART_DATA_BITS_9; in uart_ra_sci_b_apply_config()
[all …]
Duart_renesas_ra_sci.c44 struct st_uart_cfg fsp_config; member
175 struct st_uart_cfg *fsp_config, in uart_ra_sci_apply_config() argument
189 fsp_config->parity = UART_PARITY_OFF; in uart_ra_sci_apply_config()
192 fsp_config->parity = UART_PARITY_ODD; in uart_ra_sci_apply_config()
195 fsp_config->parity = UART_PARITY_EVEN; in uart_ra_sci_apply_config()
209 fsp_config->stop_bits = UART_STOP_BITS_1; in uart_ra_sci_apply_config()
214 fsp_config->stop_bits = UART_STOP_BITS_2; in uart_ra_sci_apply_config()
226 fsp_config->data_bits = UART_DATA_BITS_7; in uart_ra_sci_apply_config()
229 fsp_config->data_bits = UART_DATA_BITS_8; in uart_ra_sci_apply_config()
232 fsp_config->data_bits = UART_DATA_BITS_9; in uart_ra_sci_apply_config()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_b_renesas_ra8.c39 struct st_spi_cfg fsp_config; member
104 data->fsp_config.operating_mode = SPI_MODE_SLAVE; in ra_spi_b_configure()
106 data->fsp_config.operating_mode = SPI_MODE_MASTER; in ra_spi_b_configure()
110 data->fsp_config.clk_polarity = SPI_CLK_POLARITY_HIGH; in ra_spi_b_configure()
112 data->fsp_config.clk_polarity = SPI_CLK_POLARITY_LOW; in ra_spi_b_configure()
116 data->fsp_config.clk_phase = SPI_CLK_PHASE_EDGE_EVEN; in ra_spi_b_configure()
118 data->fsp_config.clk_phase = SPI_CLK_PHASE_EDGE_ODD; in ra_spi_b_configure()
122 data->fsp_config.bit_order = SPI_BIT_ORDER_LSB_FIRST; in ra_spi_b_configure()
124 data->fsp_config.bit_order = SPI_BIT_ORDER_MSB_FIRST; in ra_spi_b_configure()
142 data->fsp_config.p_extend = &data->fsp_config_extend; in ra_spi_b_configure()
[all …]
Dspi_renesas_ra.c35 struct st_spi_cfg fsp_config; member
100 data->fsp_config.operating_mode = SPI_MODE_SLAVE; in ra_spi_configure()
102 data->fsp_config.operating_mode = SPI_MODE_MASTER; in ra_spi_configure()
106 data->fsp_config.clk_polarity = SPI_CLK_POLARITY_HIGH; in ra_spi_configure()
108 data->fsp_config.clk_polarity = SPI_CLK_POLARITY_LOW; in ra_spi_configure()
112 data->fsp_config.clk_phase = SPI_CLK_PHASE_EDGE_EVEN; in ra_spi_configure()
114 if (data->fsp_config.operating_mode == SPI_MODE_MASTER) { in ra_spi_configure()
115 data->fsp_config.clk_phase = SPI_CLK_PHASE_EDGE_ODD; in ra_spi_configure()
123 data->fsp_config.bit_order = SPI_BIT_ORDER_LSB_FIRST; in ra_spi_configure()
125 data->fsp_config.bit_order = SPI_BIT_ORDER_MSB_FIRST; in ra_spi_configure()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_renesas_ra_iic.c38 i2c_master_cfg_t fsp_config; member
76 data->fsp_config.rate = I2C_MASTER_RATE_STANDARD; in i2c_ra_iic_configure()
79 data->fsp_config.rate = I2C_MASTER_RATE_FAST; in i2c_ra_iic_configure()
82 data->fsp_config.rate = I2C_MASTER_RATE_FASTPLUS; in i2c_ra_iic_configure()
90 calc_iic_master_clock_setting(dev, data->fsp_config.rate, in i2c_ra_iic_configure()
94 R_IIC_MASTER_Open(&data->ctrl, &data->fsp_config); in i2c_ra_iic_configure()
284 switch (data->fsp_config.rate) { in i2c_ra_iic_init()
288 calc_iic_master_clock_setting(dev, data->fsp_config.rate, in i2c_ra_iic_init()
293 data->fsp_config.p_extend = &data->iic_master_ext_cfg; in i2c_ra_iic_init()
296 LOG_ERR("%s: Invalid I2C speed rate: %d", __func__, data->fsp_config.rate); in i2c_ra_iic_init()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_hp_ra.h66 struct st_flash_cfg fsp_config; member
Dflash_hp_ra.c169 if (true == dev_ctrl->fsp_config.data_flash_bgo) { in flash_ra_erase()
211 if (true == dev_ctrl->fsp_config.data_flash_bgo) { in flash_ra_write()
287 .fsp_config = {
363 err = R_FLASH_HP_Open(&data->flash_ctrl, &data->fsp_config); in flash_controller_ra_init()
/Zephyr-latest/drivers/sdhc/
Dsdhc_renesas_ra.c53 struct st_sdmmc_cfg fsp_config; member
558 fsp_err = R_SDHI_Open(&priv->sdmmc_ctrl, &priv->fsp_config); in sdhc_ra_init()
631 sdhc_ra_priv_##index.fsp_config.p_lower_lvl_transfer = &sdhc_ra_priv_##index.transfer;
684 .fsp_config = \