Home
last modified time | relevance | path

Searched full:dr (Results 1 – 25 of 47) sorted by relevance

12

/Zephyr-latest/drivers/sensor/nxp/fxos8700/
Dfxos8700.c151 uint8_t dr; in fxos8700_set_odr() local
157 dr = FXOS8700_CTRLREG1_DR_RATE_800; in fxos8700_set_odr()
159 dr = FXOS8700_CTRLREG1_DR_RATE_400; in fxos8700_set_odr()
161 dr = FXOS8700_CTRLREG1_DR_RATE_200; in fxos8700_set_odr()
163 dr = FXOS8700_CTRLREG1_DR_RATE_100; in fxos8700_set_odr()
165 dr = FXOS8700_CTRLREG1_DR_RATE_50; in fxos8700_set_odr()
167 dr = FXOS8700_CTRLREG1_DR_RATE_12_5; in fxos8700_set_odr()
169 dr = FXOS8700_CTRLREG1_DR_RATE_6_25; in fxos8700_set_odr()
171 dr = FXOS8700_CTRLREG1_DR_RATE_1_56; in fxos8700_set_odr()
177 dr = FXOS8700_CTRLREG1_DR_RATE_800; in fxos8700_set_odr()
[all …]
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_bus_spi.c26 struct gpio_dt_spec dr; member
36 .dr = GPIO_DT_SPEC_INST_GET(0, data_gpios),
46 return gpio_pin_get_dt(&spi->cfg->dr) > 0; in eswifi_spi_cmddata_ready()
241 if (!gpio_is_ready_dt(&cfg->dr)) { in eswifi_spi_init()
242 LOG_ERR("device %s is not ready", cfg->dr.port->name); in eswifi_spi_init()
245 gpio_pin_configure_dt(&cfg->dr, GPIO_INPUT); in eswifi_spi_init()
/Zephyr-latest/drivers/spi/
Dspi_dw_regs.h51 DEFINE_MM_REG_WRITE(dr, DW_SPI_REG_DR, 32)
52 DEFINE_MM_REG_READ(dr, DW_SPI_REG_DR, 32)
/Zephyr-latest/samples/subsys/lorawan/fuota/src/
Dmain.c36 static void datarate_changed(enum lorawan_datarate dr) in datarate_changed() argument
41 LOG_INF("New Datarate: DR %d, Max Payload %d", dr, max_size); in datarate_changed()
/Zephyr-latest/boards/shields/x_nucleo_eeprma2/doc/
Dindex.rst48 - `M95M04-DR Serial SPI bus EEPROM Datasheet`_
90 .. _M95M04-DR Serial SPI bus EEPROM Datasheet:
91 https://www.st.com/resource/en/datasheet/m95m04-dr.pdf
/Zephyr-latest/samples/subsys/zbus/dyn_channel/src/
Dmain.c68 struct ack_msg dr = {1}; in filter_cb() local
70 zbus_chan_pub(&data_ready_chan, &dr, K_NO_WAIT); in filter_cb()
/Zephyr-latest/dts/bindings/input/
Dcirque,pinnacle-common.yaml10 Data Ready (DR) GPIO pin. The DR pin is connected to Pinnacle HW_DR
/Zephyr-latest/subsys/lorawan/
Dlorawan_emul.c75 int lorawan_set_datarate(enum lorawan_datarate dr) in lorawan_set_datarate() argument
77 ARG_UNUSED(dr); in lorawan_set_datarate()
Dlorawan.c571 int lorawan_set_datarate(enum lorawan_datarate dr) in lorawan_set_datarate() argument
582 mib_req.Param.ChannelsDatarate = dr; in lorawan_set_datarate()
588 default_datarate = dr; in lorawan_set_datarate()
589 current_datarate = dr; in lorawan_set_datarate()
Dlw_priv.c63 "Tx DR payload size error",
/Zephyr-latest/drivers/adc/
Dadc_ads1112.c190 int dr = 0; in ads1112_channel_setup() local
218 dr = ads1112_acq_time_to_dr(dev, channel_cfg->acquisition_time); in ads1112_channel_setup()
219 if (dr < 0) { in ads1112_channel_setup()
220 return dr; in ads1112_channel_setup()
223 config |= ADS1112_CONFIG_DR(dr); in ads1112_channel_setup()
Dadc_ads1119.c215 int dr = 0; in ads1119_channel_setup() local
257 dr = ads1119_acq_time_to_dr(dev, channel_cfg->acquisition_time); in ads1119_channel_setup()
258 if (dr < 0) { in ads1119_channel_setup()
259 return dr; in ads1119_channel_setup()
262 config |= ADS1119_CONFIG_DR(dr); in ads1119_channel_setup()
Dadc_ads1x1x.c383 int dr = 0; in ads1x1x_channel_setup() local
441 dr = ads1x1x_acq_time_to_dr(dev, channel_cfg->acquisition_time); in ads1x1x_channel_setup()
442 if (dr < 0) { in ads1x1x_channel_setup()
448 config |= ADS1X1X_CONFIG_DR(dr); in ads1x1x_channel_setup()
/Zephyr-latest/drivers/sensor/nxp/fxas21002/
Dfxas21002.c16 /* Sample period in microseconds, indexed by output data rate encoding (DR) */
289 uint8_t dr) in fxas21002_get_transition_time() argument
301 transition_time = sample_period[dr]; in fxas21002_get_transition_time()
406 config->dr << FXAS21002_CTRLREG1_DR_SHIFT)) { in fxas21002_init()
431 config->dr); in fxas21002_init()
469 .dr = CONFIG_FXAS21002_DR, \
Dfxas21002.h103 uint8_t dr; member
131 uint8_t dr);
Dfxas21002_trigger.c159 config->dr); in fxas21002_trigger_set()
/Zephyr-latest/samples/subsys/lorawan/class_a/src/
Dmain.c40 static void lorwan_datarate_changed(enum lorawan_datarate dr) in lorwan_datarate_changed() argument
45 LOG_INF("New Datarate: DR_%d, Max Payload %d", dr, max_size); in lorwan_datarate_changed()
/Zephyr-latest/drivers/serial/
Duart_stellaris.c36 uint32_t dr; member
274 *c = (unsigned char)config->uart->dr; in uart_stellaris_poll_in()
297 config->uart->dr = (uint32_t)c; in uart_stellaris_poll_out()
319 config->uart->dr = (uint32_t)tx_data[num_tx++]; in uart_stellaris_fifo_fill()
342 rx_data[num_rx++] = (uint8_t)config->uart->dr; in uart_stellaris_fifo_read()
384 config->uart->dr = 0U; in uart_stellaris_irq_tx_enable()
Duart_pl011.c164 *c = (unsigned char)get_uart(dev)->dr; in pl011_poll_in()
178 get_uart(dev)->dr = (uint32_t)c; in pl011_poll_out()
323 get_uart(dev)->dr = tx_data[num_tx++]; in pl011_fifo_fill()
334 rx_data[num_rx++] = get_uart(dev)->dr; in pl011_fifo_read()
Duart_pl011_registers.h18 uint32_t dr; /* data register */ member
/Zephyr-latest/include/zephyr/lorawan/
Dlorawan.h216 * @param dr Updated datarate.
218 typedef void (*lorawan_dr_changed_cb_t)(enum lorawan_datarate dr);
341 * @param dr Data rate used for transmissions
345 int lorawan_set_datarate(enum lorawan_datarate dr);
/Zephyr-latest/drivers/gpio/
Dgpio_mcux_igpio.c223 *value = base->DR; in mcux_igpio_port_get_raw()
234 base->DR = (base->DR & ~mask) | (mask & value); in mcux_igpio_port_set_masked_raw()
/Zephyr-latest/subsys/lorawan/services/
Dmulticast.c214 LOG_DBG("McClassCSessionReq time: %u, timeout: %u, freq: %u, DR: %d", in multicast_package_callback()
243 /* set FreqError and DR Error flags */ in multicast_package_callback()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_dw1000.c74 uint8_t dr; /* Data rate DWT_BR_110K, DWT_BR_850K, DWT_BR_6M8 */ member
130 .dr = DWT_BR_6M8,
1334 tune0b = dwt_tune0b_defs[rf_cfg->dr][rf_cfg->rx_ns_sfd]; in dwt_configure_rf_phy()
1348 if (rf_cfg->dr == DWT_BR_110K) { in dwt_configure_rf_phy()
1438 dwt_ns_sfdlen[rf_cfg->dr]); in dwt_configure_rf_phy()
1439 LOG_DBG("USR_SFDLEN: 0x%02x", dwt_ns_sfdlen[rf_cfg->dr]); in dwt_configure_rf_phy()
1467 (rf_cfg->dr << DWT_TX_FCTRL_TXBR_SHFT); in dwt_configure_rf_phy()
1510 if (rf_cfg->dr == DWT_BR_6M8) { in dwt_configure_rf_phy()
1513 } else if (rf_cfg->dr == DWT_BR_850K) { in dwt_configure_rf_phy()
/Zephyr-latest/drivers/sensor/bosch/bmc150_magn/
Dbmc150_magn_trigger.c133 LOG_DBG("failed to set DR polarity"); in bmc150_magn_init_interrupt()

12