Home
last modified time | relevance | path

Searched full:twi (Results 1 – 25 of 91) sorted by relevance

1234

/Zephyr-latest/dts/bindings/i2c/
Dnordic,nrf-twi.yaml5 Nordic nRF family TWI (TWI master).
7 This binding can be used for nodes which can represent TWI
9 I2C peripherals (like TWI or TWIM), the corresponding devicetree
10 nodes must be set up to select TWI before use.
12 To select TWI, set the node's "compatible" to "nordic,nrf-twi" and
17 compatible = "nordic,nrf-twi";
22 You can use either of these options to check TWI availability on
31 documents TWI support, like this:
35 * This i2c node can be TWI, [...].
43 compatible: "nordic,nrf-twi"
[all …]
Dnordic,nrf-twis.yaml8 peripheral role, and EasyDMA. TWIS shares resources with TWIM and TWI,
10 Overwrite the compatible of the i2c node to select between TWIM/TWI
11 and TWIS, along with the pinctrl instances to select between TWIM/TWI
45 - "nordic,nrf-twi-common.yaml"
Datmel,sam-i2c-twi.yaml4 description: Atmel SAM Family I2C (TWI) node
6 compatible: "atmel,sam-i2c-twi"
Dnordic,nrf-twim.yaml5 Nordic nRF family TWIM (TWI master with EasyDMA).
22 Note: on nRF51 SoCs, use the "nordic,nrf-twi" binding instead.
26 include: ["nordic,nrf-twi-common.yaml", "memory-region.yaml"]
Dnordic,nrf-twi-common.yaml5 # Common fields for Nordic nRF family TWI peripherals
/Zephyr-latest/drivers/i2c/
Di2c_sam_twi.c11 * @brief I2C bus (TWI) driver for Atmel SAM MCU family.
45 Twi *regs;
73 static int i2c_clk_set(Twi *const twi, uint32_t speed) in i2c_clk_set() argument
79 /* From the datasheet "TWI Clock Waveform Generator Register" in i2c_clk_set()
98 /* Set TWI clock duty cycle to 50% */ in i2c_clk_set()
99 twi->TWI_CWGR = TWI_CWGR_CLDIV(cl_div) | TWI_CWGR_CHDIV(cl_div) in i2c_clk_set()
109 Twi *const twi = dev_cfg->regs; in i2c_sam_twi_configure() local
140 ret = i2c_clk_set(twi, bitrate); in i2c_sam_twi_configure()
146 twi->TWI_CR = TWI_CR_SVDIS; in i2c_sam_twi_configure()
149 twi->TWI_CR = TWI_CR_MSEN; in i2c_sam_twi_configure()
[all …]
Di2c_nrfx_twi_common.c19 nrfx_err_t result = nrfx_twi_init(&config->twi, &config->config, in i2c_nrfx_twi_init()
34 nrfx_twi_t const *inst = &config->twi; in i2c_nrfx_twi_configure()
63 scl_pin = nrf_twi_scl_pin_get(config->twi.p_twi); in i2c_nrfx_twi_recover_bus()
64 sda_pin = nrf_twi_sda_pin_get(config->twi.p_twi); in i2c_nrfx_twi_recover_bus()
113 res = nrfx_twi_xfer(&config->twi, &cur_xfer, xfer_flags); in i2c_nrfx_twi_msg_transfer()
149 nrfx_twi_uninit(&config->twi); in twi_nrfx_pm_action()
DKconfig.nrfx7 bool "nRF TWI nrfx drivers"
13 Enable support for nrfx TWI drivers for nRF MCU series.
Di2c_nrfx_twi.c54 nrfx_twi_enable(&config->twi); in i2c_nrfx_twi_transfer()
87 nrfx_twi_disable(&config->twi); in i2c_nrfx_twi_transfer()
99 nrfx_twi_disable(&config->twi); in i2c_nrfx_twi_transfer()
159 .twi = NRFX_TWI_INSTANCE(idx), \
Di2c_nrfx_twi_rtio.c47 nrfx_twi_enable(&config->twi); in i2c_nrfx_twi_rtio_msg_start()
53 nrfx_twi_disable(&config->twi); in i2c_nrfx_twi_rtio_msg_start()
103 nrfx_twi_disable(&config->twi); in i2c_nrfx_twi_rtio_complete()
189 .twi = NRFX_TWI_INSTANCE(idx), \
Di2c_nrfx_twi_common.h33 nrfx_twi_t twi; member
/Zephyr-latest/boards/shields/ssd1306/boards/
Dreel_board.overlay2 compatible = "nordic,nrf-twi";
/Zephyr-latest/soc/nordic/
Dvalidate_enabled_instances.c22 * In most Nordic SoCs, SPI and TWI peripherals with the same instance number
41 "SPI"#idx", SPIM"#idx", SPIS"#idx", TWI"#idx", TWIM"#idx", TWIS"#idx \
/Zephyr-latest/boards/rakwireless/rak4631/
Drak4631_nrf52840.dts92 compatible = "nordic,nrf-twi";
100 compatible = "nordic,nrf-twi";
/Zephyr-latest/boards/electronut/nrf52840_blip/
Dnrf52840_blip.dts98 compatible = "nordic,nrf-twi";
106 compatible = "nordic,nrf-twi";
/Zephyr-latest/boards/makerdiary/nrf52832_mdk/
Dnrf52832_mdk.dts115 compatible = "nordic,nrf-twi";
123 compatible = "nordic,nrf-twi";
/Zephyr-latest/boards/makerdiary/nrf52840_mdk/
Dnrf52840_mdk.dts120 compatible = "nordic,nrf-twi";
128 compatible = "nordic,nrf-twi";
/Zephyr-latest/boards/nordic/nrf52833dk/
Dnrf52833dk_nrf52820.dts128 compatible = "nordic,nrf-twi";
136 compatible = "nordic,nrf-twi";
/Zephyr-latest/boards/nordic/nrf52840dongle/
Dnrf52840dongle_nrf52840.dts128 compatible = "nordic,nrf-twi";
136 compatible = "nordic,nrf-twi";
/Zephyr-latest/modules/hal_nordic/nrfx/
DKconfig.logging124 bool "TWI driver logging"
/Zephyr-latest/boards/raytac/mdbt50q_db_40/
Draytac_mdbt50q_db_40_nrf52840.dts137 compatible = "nordic,nrf-twi";
145 compatible = "nordic,nrf-twi";
/Zephyr-latest/dts/arm/nordic/
Dnrf52820.dtsi138 * This i2c node can be TWI, TWIM, or TWIS,
140 * compatible = "nordic,nrf-twi" or
174 * This i2c node can be TWI, TWIM, or TWIS,
176 * compatible = "nordic,nrf-twi" or
/Zephyr-latest/boards/raytac/mdbt50q_db_33/
Draytac_mdbt50q_db_33_nrf52833.dts135 compatible = "nordic,nrf-twi";
143 compatible = "nordic,nrf-twi";
/Zephyr-latest/boards/particle/boron/
Dparticle_boron.dts48 compatible = "nordic,nrf-twi";
/Zephyr-latest/boards/contextualelectronics/abc/
Dcontextualelectronics_abc.dts80 compatible = "nordic,nrf-twi";

1234