Home
last modified time | relevance | path

Searched refs:twi (Results 1 – 25 of 76) sorted by relevance

1234

/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_sam_twi.c73 static int i2c_clk_set(Twi *const twi, uint32_t speed) in i2c_clk_set() argument
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()
158 static void write_msg_start(Twi *const twi, struct twi_msg *msg, uint8_t daddr) in write_msg_start() argument
161 twi->TWI_MMR = TWI_MMR_DADR(daddr); in write_msg_start()
164 twi->TWI_THR = msg->buf[msg->idx++]; in write_msg_start()
167 twi->TWI_IER = TWI_IER_TXRDY | TWI_IER_TXCOMP | TWI_IER_NACK; in write_msg_start()
[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()
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()
101 nrfx_twi_disable(&config->twi); in i2c_nrfx_twi_rtio_complete()
171 .twi = NRFX_TWI_INSTANCE(idx), \
Di2c_nrfx_twi_common.h32 nrfx_twi_t twi; member
/Zephyr-Core-3.7.0/boards/shields/ssd1306/boards/
Dreel_board.overlay2 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/samples/sensor/bme680/boards/
Dadafruit_feather_nrf52840_sense.overlay11 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/makerdiary/nrf52832_mdk/
Dnrf52832_mdk.dts111 compatible = "nordic,nrf-twi";
119 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/nordic/nrf52833dk/
Dnrf52833dk_nrf52820.dts124 compatible = "nordic,nrf-twi";
132 compatible = "nordic,nrf-twi";
Dnrf52833dk_nrf52833.dts163 compatible = "nordic,nrf-twi";
171 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/electronut/nrf52840_blip/
Dnrf52840_blip.dts96 compatible = "nordic,nrf-twi";
104 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/rak/rak4631/
Drak4631_nrf52840.dts86 compatible = "nordic,nrf-twi";
94 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/nordic/nrf52840dongle/
Dnrf52840dongle_nrf52840.dts125 compatible = "nordic,nrf-twi";
133 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/raytac/mdbt50q_db_33/
Draytac_mdbt50q_db_33_nrf52833.dts131 compatible = "nordic,nrf-twi";
139 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/sparkfun/micromod/
Dmicromod_nrf52840.dts104 compatible = "nordic,nrf-twi";
112 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/panasonic/pan1782_evb/
Dpan1782_evb.dts127 compatible = "nordic,nrf-twi";
135 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/makerdiary/nrf52840_mdk/
Dnrf52840_mdk.dts118 compatible = "nordic,nrf-twi";
126 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/particle/boron/
Dparticle_boron.dts44 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/raytac/mdbt50q_db_40/
Draytac_mdbt50q_db_40_nrf52840.dts131 compatible = "nordic,nrf-twi";
139 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/nordic/nrf52dk/
Dnrf52dk_nrf52832.dts163 compatible = "nordic,nrf-twi";
171 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/u-blox/ubx_bmd300eval/
Dubx_bmd300eval_nrf52832.dts162 compatible = "nordic,nrf-twi";
170 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/u-blox/ubx_evkannab1/
Dubx_evkannab1_nrf52832.dts159 compatible = "nordic,nrf-twi";
167 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/boards/u-blox/ubx_evkninab1/
Dubx_evkninab1_nrf52832.dts159 compatible = "nordic,nrf-twi";
167 compatible = "nordic,nrf-twi";
/Zephyr-Core-3.7.0/dts/arm/atmel/
Dsam3x.dtsi86 compatible = "atmel,sam-i2c-twi";
97 compatible = "atmel,sam-i2c-twi";
Dsam4s.dtsi88 compatible = "atmel,sam-i2c-twi";
99 compatible = "atmel,sam-i2c-twi";

1234