Home
last modified time | relevance | path

Searched refs:twim (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-latest/drivers/i2c/
Di2c_sam4l_twim.c110 Twim *const twim = cfg->regs; in i2c_clk_set() local
140 twim->HSCWGR = cwgr_reg_val; in i2c_clk_set()
142 twim->CWGR = cwgr_reg_val; in i2c_clk_set()
150 twim->SRR = ((speed == BUS_SPEED_PLUS_HZ) ? TWIM_SRR_FILTER(2) : in i2c_clk_set()
157 twim->HSSRR = TWIM_HSSRR_FILTER(1) | in i2c_clk_set()
288 Twim *const twim = cfg->regs; in i2c_start_xfer() local
294 twim->CR = TWIM_CR_MEN; in i2c_start_xfer()
295 twim->CR = TWIM_CR_SWRST; in i2c_start_xfer()
296 twim->CR = TWIM_CR_MDIS; in i2c_start_xfer()
297 twim->IDR = ~0UL; /* Clear the interrupt flags */ in i2c_start_xfer()
[all …]
Di2c_nrfx_twim_common.c25 scl_pin = nrf_twim_scl_pin_get(config->twim.p_twim); in i2c_nrfx_twim_recover_bus()
26 sda_pin = nrf_twim_sda_pin_get(config->twim.p_twim); in i2c_nrfx_twim_recover_bus()
31 nrfx_twim_disable(&config->twim); in i2c_nrfx_twim_recover_bus()
39 nrfx_twim_enable(&config->twim); in i2c_nrfx_twim_recover_bus()
55 nrf_twim_frequency_set(config->twim.p_twim, NRF_TWIM_FREQ_100K); in i2c_nrfx_twim_configure()
58 nrf_twim_frequency_set(config->twim.p_twim, NRF_TWIM_FREQ_400K); in i2c_nrfx_twim_configure()
62 nrf_twim_frequency_set(config->twim.p_twim, NRF_TWIM_FREQ_1000K); in i2c_nrfx_twim_configure()
93 res = nrfx_twim_xfer(&config->twim, &cur_xfer, in i2c_nrfx_twim_msg_transfer()
112 nrfx_twim_enable(&config->twim); in twim_nrfx_pm_action()
115 nrfx_twim_disable(&config->twim); in twim_nrfx_pm_action()
[all …]
Di2c_nrfx_twim_common.h35 nrfx_twim_t twim; member
Di2c_nrfx_twim.c62 bool dma_accessible = nrf_dma_accessible_check(&dev_config->twim, msgs[i].buf); in i2c_nrfx_twim_transfer()
246 .twim = NRFX_TWIM_INSTANCE(idx), \
Di2c_nrfx_twim_rtio.c60 if (!nrf_dma_accessible_check(&config->common.twim, sqe->tx.buf)) { in i2c_nrfx_twim_rtio_start()
196 .twim = NRFX_TWIM_INSTANCE(idx), \
/Zephyr-latest/dts/arm/atmel/
Dsam4l.dtsi81 twim0: twim@40018000 {
82 compatible = "atmel,sam-i2c-twim";
91 twim1: twim@4001c000 {
92 compatible = "atmel,sam-i2c-twim";
101 twim2: twim@40078000 {
102 compatible = "atmel,sam-i2c-twim";
111 twim3: twim@4007c000 {
112 compatible = "atmel,sam-i2c-twim";
/Zephyr-latest/dts/arm/nordic/
Dnrf91_peripherals.dtsi152 * compatible = "nordic,nrf-twim" or
155 compatible = "nordic,nrf-twim";
168 * compatible = "nordic,nrf-twim" or
171 compatible = "nordic,nrf-twim";
184 * compatible = "nordic,nrf-twim" or
187 compatible = "nordic,nrf-twim";
200 * compatible = "nordic,nrf-twim" or
203 compatible = "nordic,nrf-twim";
Dnrf5340_cpuapp_peripherals.dtsi111 * compatible = "nordic,nrf-twim" or
114 compatible = "nordic,nrf-twim";
152 * compatible = "nordic,nrf-twim" or
155 compatible = "nordic,nrf-twim";
206 * compatible = "nordic,nrf-twim" or
209 compatible = "nordic,nrf-twim";
247 * compatible = "nordic,nrf-twim" or
250 compatible = "nordic,nrf-twim";
Dnrf52820.dtsi141 * "nordic,nrf-twim" or
144 compatible = "nordic,nrf-twim";
177 * "nordic,nrf-twim" or
180 compatible = "nordic,nrf-twim";
/Zephyr-latest/samples/fuel_gauge/max17048/boards/
Dnrf52840dk_nrf52840.overlay9 compatible = "nordic,nrf-twim";
/Zephyr-latest/tests/boards/nrf/i2c/i2c_slave/boards/
Dnrf52840dk_nrf52840.overlay43 compatible = "nordic,nrf-twim";
Dnrf5340dk_nrf5340_cpuapp.overlay43 compatible = "nordic,nrf-twim";
Dnrf54l15dk_nrf54l15_cpuapp.overlay44 compatible = "nordic,nrf-twim";
Dnrf54l20pdk_nrf54l20_cpuapp.overlay44 compatible = "nordic,nrf-twim";
Dnrf54h20dk_nrf54h20_cpuppr.overlay44 compatible = "nordic,nrf-twim";
Dnrf54h20dk_nrf54h20_cpuapp.overlay43 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/atmarktechno/degu_evk/
Ddegu_evk.dts123 compatible = "nordic,nrf-twim";
131 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/actinius/icarus_som/
Dactinius_icarus_som_common.dtsi52 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/arduino/nicla_sense_me/
Darduino_nicla_sense_me.dts71 compatible = "nordic,nrf-twim";
92 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/norik/octopus_io_board/
Doctopus_io_board_common.dtsi25 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/seeed/xiao_ble/
Dxiao_ble_nrf52840_sense.dts32 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/vngiotlab/nrf52_vbluno52/
Dnrf52_vbluno52.dts74 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/arduino/nano_33_ble/
Darduino_nano_33_ble-common.dtsi157 compatible = "nordic,nrf-twim";
165 compatible = "nordic,nrf-twim";
/Zephyr-latest/boards/particle/nrf52_blenano2/
Dnrf52_blenano2.dts58 compatible = "nordic,nrf-twim";
/Zephyr-latest/dts/common/nordic/
Dnrf54l20.dtsi239 compatible = "nordic,nrf-twim";
278 compatible = "nordic,nrf-twim";
317 compatible = "nordic,nrf-twim";
512 compatible = "nordic,nrf-twim";
551 compatible = "nordic,nrf-twim";
602 compatible = "nordic,nrf-twim";

123