Home
last modified time | relevance | path

Searched full:bitbang (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/drivers/i2c/
Di2c_litex.c95 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_init() local
99 i2c_bitbang_init(bitbang, &i2c_litex_bitbang_io, (void *)config); in i2c_litex_init()
101 ret = i2c_bitbang_configure(bitbang, in i2c_litex_init()
104 LOG_ERR("failed to configure I2C bitbang: %d", ret); in i2c_litex_init()
112 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_configure() local
114 return i2c_bitbang_configure(bitbang, dev_config); in i2c_litex_configure()
119 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_get_config() local
121 return i2c_bitbang_get_config(bitbang, config); in i2c_litex_get_config()
127 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_transfer() local
129 return i2c_bitbang_transfer(bitbang, msgs, num_msgs, addr); in i2c_litex_transfer()
[all …]
Di2c_sbcon.c48 struct i2c_bitbang bitbang; /* Bit-bang library data */ member
90 return i2c_bitbang_configure(&context->bitbang, dev_config); in i2c_sbcon_configure()
97 return i2c_bitbang_get_config(&context->bitbang, config); in i2c_sbcon_get_config()
105 return i2c_bitbang_transfer(&context->bitbang, msgs, num_msgs, in i2c_sbcon_transfer()
113 return i2c_bitbang_recover_bus(&context->bitbang); in i2c_sbcon_recover_bus()
132 i2c_bitbang_init(&context->bitbang, &io_fns, config->sbcon); in i2c_sbcon_init()
134 ret = i2c_bitbang_configure(&context->bitbang, in i2c_sbcon_init()
137 LOG_ERR("failed to configure I2C bitbang: %d", ret); in i2c_sbcon_init()
Di2c_bitbang.h38 * @param bitbang The instance to initialize
43 void i2c_bitbang_init(struct i2c_bitbang *bitbang,
50 int i2c_bitbang_configure(struct i2c_bitbang *bitbang, uint32_t dev_config);
62 int i2c_bitbang_recover_bus(struct i2c_bitbang *bitbang);
68 int i2c_bitbang_transfer(struct i2c_bitbang *bitbang,
Di2c_gpio.c49 struct i2c_bitbang bitbang; /* Bit-bang library data */ member
89 rc = i2c_bitbang_configure(&context->bitbang, dev_config); in i2c_gpio_configure()
103 rc = i2c_bitbang_get_config(&context->bitbang, config); in i2c_gpio_get_config()
121 rc = i2c_bitbang_transfer(&context->bitbang, msgs, num_msgs, in i2c_gpio_transfer()
136 rc = i2c_bitbang_recover_bus(&context->bitbang); in i2c_gpio_recover_bus()
187 i2c_bitbang_init(&context->bitbang, &io_fns, (void *)config); in i2c_gpio_init()
190 err = i2c_bitbang_configure(&context->bitbang, in i2c_gpio_init()
193 LOG_ERR("failed to configure I2C bitbang (err %d)", err); in i2c_gpio_init()
Di2c_bitbang.c286 * The Linux kernel I2C bitbang recovery functionality issues in i2c_bitbang_recover_bus()
Di2c_ambiq.c319 LOG_ERR("failed to configure I2C bitbang (err %d)", error); in i2c_ambiq_recover_bus()
Di2c_ll_stm32.c295 LOG_ERR("failed to configure I2C bitbang (err %d)", error); in i2c_stm32_recover_bus()
Di2c_mcux_lpi2c.c297 LOG_ERR("failed to configure I2C bitbang (err %d)", error); in mcux_lpi2c_recover_bus()
/Zephyr-latest/samples/drivers/spi_bitbang/
DREADME.rst1 .. zephyr:code-sample:: spi-bitbang
2 :name: SPI bitbang
5 Use the bitbang SPI driver for communicating with a slave.
10 This sample demonstrates using the bitbang SPI driver. The bitbang driver can
21 <dt-guide>` entry with :dtcompatible:`zephyr,spi-bitbang` as a compatible.
Dsample.yaml2 name: SPI Bitbang Driver Sample
4 sample.drivers.spi.bitbang:
/Zephyr-latest/drivers/spi/
DKconfig.bitbang5 bool "Bitbang SPI controller driver"
9 Enable the Bitbang SPI controller
DKconfig82 source "drivers/spi/Kconfig.bitbang"
/Zephyr-latest/drivers/fpga/
DKconfig.ice4024 bool "Lattice iCE40 fpga driver GPIO bitbang"
29 Enable support for the Lattice iCE40 fpga GPIO bitbang driver.
Dfpga_ice40_bitbang.c40 * in order to bitbang on lower-end microcontrollers, we actually require
57 * with the GPIO bitbang mode. It is used both in fpga_ice40_send_clocks()
/Zephyr-latest/dts/bindings/spi/
Dzephyr,spi-bitbang.yaml4 description: Zephyr SPI Bitbang driver
6 compatible: "zephyr,spi-bitbang"
/Zephyr-latest/dts/bindings/fpga/
Dlattice,ice40-fpga-bitbang.yaml5 description: Lattice iCE40 FPGA GPIO bitbang based driver
7 compatible: "lattice,ice40-fpga-bitbang"
/Zephyr-latest/dts/bindings/mdio/
Dlitex,liteeth-mdio.yaml4 description: LiteX LiteEth MDIO bitbang driver
Dzephyr,mdio-gpio.yaml4 description: Zephyr MDIO bitbang driver
/Zephyr-latest/drivers/mdio/
DKconfig.gpio5 bool "GPIO bitbang MDIO controller driver"
/Zephyr-latest/samples/drivers/spi_bitbang/boards/
Dnrf52840dk_nrf52840.overlay9 compatible = "zephyr,spi-bitbang";
/Zephyr-latest/drivers/mipi_dbi/
DKconfig25 source "drivers/mipi_dbi/Kconfig.bitbang"
/Zephyr-latest/tests/drivers/build_all/fpga/
Dspi.dtsi11 compatible = "lattice,ice40-fpga-bitbang";
/Zephyr-latest/dts/bindings/mipi-dbi/
Dzephyr,mipi-dbi-bitbang.yaml9 compatible: "zephyr,mipi-dbi-bitbang"
/Zephyr-latest/boards/adi/max32690evkit/
Dmax32690evkit_max32690_m4.dts90 compatible = "zephyr,spi-bitbang";
/Zephyr-latest/doc/releases/
Drelease-notes-4.1.rst183 … :dtcompatible:`lattice,ice40-fpga-bitbang`. This replaces the original ``load_mode`` property from
184 the binding, which selected either the SPI or GPIO bitbang load mode.

12