Home
last modified time | relevance | path

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

/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/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/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/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/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()
/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/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.h218 typedef void (*lorawan_dr_changed_cb_t)(enum lorawan_datarate dr);
345 int lorawan_set_datarate(enum lorawan_datarate dr);
/Zephyr-latest/drivers/sensor/nxp/fxas21002/
Dfxas21002.c289 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/drivers/usb_c/tcpc/
Ducpd_stm32_priv.h169 enum tc_data_role dr; member
Ducpd_stm32.c529 data->msg_header.dr = data_role; in ucpd_set_roles()
960 tx_header.port_data_role = data->msg_header.dr; in ucpd_send_good_crc()
/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/subsys/usb/usb_c/
Dusbc_pe_common_internal.h604 void pe_set_data_role(const struct device *dev, enum tc_data_role dr);
Dusbc_pe_common.c188 void pe_set_data_role(const struct device *dev, enum tc_data_role dr) in pe_set_data_role() argument
194 pe->data_role = dr; in pe_set_data_role()
/Zephyr-latest/boards/shields/x_nucleo_eeprma2/doc/
Dindex.rst91 https://www.st.com/resource/en/datasheet/m95m04-dr.pdf
/Zephyr-latest/boards/ti/sk_am62/doc/
Dindex.rst140 …https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-PvdSyIiioq/08.06.0…