/Zephyr-latest/boards/shields/adafruit_pca9685/doc/ |
D | index.rst | 3 Adafruit 16-channel PWM/Servo Shield 9 The Adafruit 16-channel PWM/Servo shield is an Arduino 13 at the `Adafruit 16-channel PWM/Servo Shield webpage`_. 44 .. _Adafruit 16-channel PWM/Servo Shield webpage: 45 https://learn.adafruit.com/adafruit-16-channel-pwm-slash-servo-shield?view=all
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_xmc4xxx_ccu8.c | 87 static int pwm_xmc4xxx_ccu8_set_cycles(const struct device *dev, uint32_t channel, in pwm_xmc4xxx_ccu8_set_cycles() argument 95 int slice_idx = channel / 2; in pwm_xmc4xxx_ccu8_set_cycles() 97 if (channel >= NUM_CHANNELS) { in pwm_xmc4xxx_ccu8_set_cycles() 108 if (channel & 0x1) { in pwm_xmc4xxx_ccu8_set_cycles() 118 high_deadtime_value = config->deadtime_high_ns[channel] * cycles / NSEC_PER_SEC; in pwm_xmc4xxx_ccu8_set_cycles() 119 low_deadtime_value = config->deadtime_low_ns[channel] * cycles / NSEC_PER_SEC; in pwm_xmc4xxx_ccu8_set_cycles() 125 XMC_CCU8_SLICE_SetDeadTimeValue(slice, channel & 0x1, high_deadtime_value, in pwm_xmc4xxx_ccu8_set_cycles() 137 static int pwm_xmc4xxx_ccu8_get_cycles_per_sec(const struct device *dev, uint32_t channel, in pwm_xmc4xxx_ccu8_get_cycles_per_sec() argument 142 if (channel >= NUM_CHANNELS) { in pwm_xmc4xxx_ccu8_get_cycles_per_sec() 146 *cycles = XMC_SCU_CLOCK_GetCcuClockFrequency() >> config->slice_prescaler[channel / 2]; in pwm_xmc4xxx_ccu8_get_cycles_per_sec()
|
D | pwm_sifive.c | 109 static int pwm_sifive_set_cycles(const struct device *dev, uint32_t channel, in pwm_sifive_set_cycles() argument 123 if (channel >= SF_NUMCHANNELS) { in pwm_sifive_set_cycles() 124 LOG_ERR("The requested PWM channel %d is invalid\n", channel); in pwm_sifive_set_cycles() 129 if (channel == 0U) { in pwm_sifive_set_cycles() 171 PWM_REG(config, REG_PWMCMP(channel))); in pwm_sifive_set_cycles() 174 channel, in pwm_sifive_set_cycles() 177 channel, in pwm_sifive_set_cycles() 184 uint32_t channel, uint64_t *cycles) in pwm_sifive_get_cycles_per_sec() argument 200 if (channel >= SF_NUMCHANNELS) { in pwm_sifive_get_cycles_per_sec()
|
/Zephyr-latest/drivers/dma/ |
D | dma_pl330.c | 23 uint64_t src, uint32_t channel, uint32_t size); 316 uint64_t src, uint32_t size, uint32_t channel, in dma_pl330_xfer() argument 326 channel_cfg = &dev_data->channels[channel]; in dma_pl330_xfer() 350 dst, src, channel); in dma_pl330_xfer() 352 ret = dma_pl330_setup_ch(dev, ch_handle, channel); in dma_pl330_xfer() 358 ret = dma_pl330_start_dma_ch(dev, dev_cfg->reg_base, channel, in dma_pl330_xfer() 365 ret = dma_pl330_wait(dev_cfg->reg_base, channel); in dma_pl330_xfer() 378 uint64_t src, uint32_t channel, in dma_pl330_handle_boundary() argument 396 ret = dma_pl330_submit(dev, dst, src, channel, in dma_pl330_handle_boundary() 405 return dma_pl330_submit(dev, dst, src, channel, size); in dma_pl330_handle_boundary() [all …]
|
D | dma_mchp_xec.c | 32 #define XEC_DMA_CHAN_REGS_ADDR(base, channel) \ argument 34 ((uintptr_t)(channel) * XEC_DMA_CHAN_REGS_SIZE)) 164 uint32_t channel) in xec_chan_irq_info() argument 166 return &devcfg->irq_info_list[channel]; in xec_chan_irq_info() 335 static int dma_xec_configure(const struct device *dev, uint32_t channel, in dma_xec_configure() argument 344 if (!config || (channel >= (uint32_t)devcfg->dma_channels)) { in dma_xec_configure() 352 const struct dma_xec_irq_info *info = xec_chan_irq_info(devcfg, channel); in dma_xec_configure() 353 struct dma_xec_chan_regs * const chregs = xec_chan_regs(regs, channel); in dma_xec_configure() 354 struct dma_xec_channel *chdata = &data->channels[channel]; in dma_xec_configure() 451 static int dma_xec_reload(const struct device *dev, uint32_t channel, in dma_xec_reload() argument [all …]
|
D | dma_mcux_lpc.c | 86 uint32_t channel = handle->channel; in nxp_lpc_dma_callback() local 96 data->busy = DMA_ChannelIsBusy(data->dma_handle.base, channel); in nxp_lpc_dma_callback() 99 data->dma_callback(data->dev, data->user_data, channel, ret); in nxp_lpc_dma_callback() 325 static int dma_mcux_lpc_configure(const struct device *dev, uint32_t channel, in dma_mcux_lpc_configure() argument 378 LOG_ERR("out of DMA channel %d", channel); in dma_mcux_lpc_configure() 383 if (channel >= dev_config->num_of_channels) { in dma_mcux_lpc_configure() 384 LOG_ERR("invalid DMA channel number %d", channel); in dma_mcux_lpc_configure() 468 if (dma_data->channel_index[channel] == -1) { in dma_mcux_lpc_configure() 469 dma_data->channel_index[channel] = dma_data->num_channels_used; in dma_mcux_lpc_configure() 472 virtual_channel = dma_data->channel_index[channel]; in dma_mcux_lpc_configure() [all …]
|
D | dma_silabs_ldma.c | 302 static int dma_silabs_configure(const struct device *dev, uint32_t channel, in dma_silabs_configure() argument 306 struct dma_silabs_channel *chan_conf = &data->dma_chan_table[channel]; in dma_silabs_configure() 310 if (channel > data->dma_ctx.dma_channels) { in dma_silabs_configure() 319 LOG_ERR("DMA channel %u is busy", channel); in dma_silabs_configure() 339 LDMA_StopTransfer(channel); in dma_silabs_configure() 403 atomic_set_bit(data->dma_ctx.atomic, channel); in dma_silabs_configure() 408 static int dma_silabs_start(const struct device *dev, uint32_t channel) in dma_silabs_start() argument 412 struct dma_silabs_channel *chan = &data->dma_chan_table[channel]; in dma_silabs_start() 414 if (channel > data->dma_ctx.dma_channels) { in dma_silabs_start() 420 LDMA_StartTransfer(channel, &chan->xfer_config, chan->desc); in dma_silabs_start() [all …]
|
/Zephyr-latest/tests/drivers/audio/dmic_api/boards/ |
D | mimxrt595_evk_mimxrt595s_cm33.overlay | 12 dmic-channel@0 { 19 dmic-channel@1 { 26 dmic-channel@2 { 33 dmic-channel@3 {
|
D | rd_rw612_bga.overlay | 12 dmic-channel@0 { 19 dmic-channel@1 { 26 dmic-channel@2 { 33 dmic-channel@3 {
|
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
D | da1469x_dk_pro.overlay | 11 /* adjust channel number according to pinmux in board.dts */ 38 channel@0 { 47 channel@1 { 56 channel@2 { 65 channel@3 { 83 channel@0 { 92 channel@1 { 102 channel@2 {
|
D | mec15xxevb_assy6853.overlay | 16 channel@4 { 23 channel@5 { 30 channel@6 { 37 channel@7 {
|
D | mec172xevb_assy6906.overlay | 16 channel@0 { 23 channel@3 { 30 channel@4 { 37 channel@5 {
|
D | nucleo_c031c6.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 18 channel@0 { 26 channel@1 { 34 channel@4 {
|
/Zephyr-latest/drivers/espi/ |
D | Kconfig | 38 bool "eSPI peripheral channel" 41 eSPI Controller supports peripheral channel. 44 bool "eSPI virtual wire channel" 47 eSPI Controller supports virtual wires channel. 78 early in the flow after the VW channel is configured. Or it could be 79 until flash channel is configured. 82 bool "eSPI Out-of-band channel" 84 eSPI Controller supports OOB channel. 87 bool "ESPI flash channel" 89 eSPI Controller supports flash channel. [all …]
|
/Zephyr-latest/samples/subsys/llext/edk/app/include/ |
D | app_api.h | 27 __syscall int publish(enum Channels channel, void *data, 29 __syscall int receive(enum Channels channel, void *data, 31 __syscall int register_subscriber(enum Channels channel,
|
/Zephyr-latest/drivers/serial/ |
D | Kconfig.rtt | 14 This option enables access RTT channel as UART device. 25 …Enable UART on (default) RTT channel 0. Default channel has to be configured in non-blocking skip … 33 Enable UART on RTT channel 1 41 Enable UART on RTT channel 2 49 Enable UART on RTT channel 3
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_utils.c | 23 bool ieee802154_radio_verify_channel(struct net_if *iface, uint16_t channel) in ieee802154_radio_verify_channel() argument 27 if (channel == IEEE802154_NO_CHANNEL) { in ieee802154_radio_verify_channel() 42 if (channel >= channel_range->from_channel && in ieee802154_radio_verify_channel() 43 channel <= channel_range->to_channel) { in ieee802154_radio_verify_channel()
|
/Zephyr-latest/drivers/input/ |
D | input_sbus.c | 87 int channel = data->channel_mapping[sbus_channel]; in input_sbus_report() local 90 if (channel == -1) { in input_sbus_report() 94 if (value >= (data->last_reported_value[channel] + REPORT_FILTER) || in input_sbus_report() 95 value <= (data->last_reported_value[channel] - REPORT_FILTER)) { in input_sbus_report() 96 switch (config->channel_info[channel].type) { in input_sbus_report() 99 input_report(dev, config->channel_info[channel].type, in input_sbus_report() 100 config->channel_info[channel].zephyr_code, value, false, in input_sbus_report() 106 input_report_key(dev, config->channel_info[channel].zephyr_code, 1, in input_sbus_report() 109 input_report_key(dev, config->channel_info[channel].zephyr_code, 0, in input_sbus_report() 113 data->last_reported_value[channel] = value; in input_sbus_report() [all …]
|
/Zephyr-latest/drivers/audio/ |
D | tas6422dac.c | 55 static void codec_mute_output(const struct device *dev, enum tas6422dac_channel_t channel); 56 static void codec_unmute_output(const struct device *dev, enum tas6422dac_channel_t channel); 62 static int codec_set_output_volume(const struct device *dev, enum tas6422dac_channel_t channel, 119 static void codec_mute_output(const struct device *dev, enum tas6422dac_channel_t channel) in codec_mute_output() argument 126 if (channel == TAS6422DAC_CHANNEL_ALL) { in codec_mute_output() 132 switch (channel) { in codec_mute_output() 148 LOG_ERR("Invalid codec channel %u", channel); in codec_mute_output() 154 static void codec_unmute_output(const struct device *dev, enum tas6422dac_channel_t channel) in codec_unmute_output() argument 165 switch (channel) { in codec_unmute_output() 181 LOG_ERR("Invalid codec channel %u", channel); in codec_unmute_output() [all …]
|
/Zephyr-latest/include/zephyr/audio/ |
D | codec.h | 178 audio_channel_t channel, 184 int (*route_input)(const struct device *dev, audio_channel_t channel, uint32_t input); 185 int (*route_output)(const struct device *dev, audio_channel_t channel, uint32_t output); 255 audio_channel_t channel, in audio_codec_set_property() argument 261 return api->set_property(dev, property, channel, val); in audio_codec_set_property() 345 static inline int audio_codec_route_input(const struct device *dev, audio_channel_t channel, in audio_codec_route_input() argument 354 return api->route_input(dev, channel, input); in audio_codec_route_input() 370 static inline int audio_codec_route_output(const struct device *dev, audio_channel_t channel, in audio_codec_route_output() argument 379 return api->route_output(dev, channel, output); in audio_codec_route_output()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | dac.h | 74 uint8_t channel, uint32_t value); 125 __syscall int dac_write_value(const struct device *dev, uint8_t channel, 129 uint8_t channel, uint32_t value) in z_impl_dac_write_value() argument 134 return api->write_value(dev, channel, value); in z_impl_dac_write_value()
|
/Zephyr-latest/drivers/dac/ |
D | dac_mcp4728.c | 55 static int mcp4728_write_value(const struct device *dev, uint8_t channel, uint32_t value) in mcp4728_write_value() argument 61 if (channel >= MCP4728_MAX_CHANNEL) { in mcp4728_write_value() 71 (channel << MCP4728_MULTI_WRITE_CHANNEL_POS); in mcp4728_write_value() 72 tx_data[1] = (config->voltage_reference[channel] << MCP4728_MULTI_WRITE_REFERENCE_POS) | in mcp4728_write_value() 73 ((config->power_down[channel] & MCP4728_MULTI_WRITE_POWER_DOWN_MASK) in mcp4728_write_value() 75 ((config->gain[channel] << MCP4728_MULTI_WRITE_GAIN_POS)) | in mcp4728_write_value()
|
/Zephyr-latest/samples/sensor/sensor_shell/ |
D | README.rst | 39 <device_name> <channel name 0> .. <channel name N> 44 Optionally, a single channel name or index can be passed to be printed out. The 45 device name and channel name are autocompleted. 52 channel idx=0 accel_x = 0.000000 53 channel idx=1 accel_y = 0.268150 54 channel idx=2 accel_z = 9.959878 55 channel idx=3 accel_xyz x = 0.000000 y = 0.268150 z = 9.959878 58 channel idx=2 accel_z = 9.959878 61 channel idx=2 accel_z = 9.959878
|
/Zephyr-latest/include/zephyr/input/ |
D | input_analog_axis.h | 44 int channel, int16_t raw_val); 77 int channel, 92 int channel,
|
/Zephyr-latest/dts/arm/renesas/ra/ra2/ |
D | ra2xx.dtsi | 148 channel = <0>; 162 channel = <1>; 176 channel = <2>; 190 channel = <3>; 204 channel = <9>; 213 channel = <0>; 222 channel = <1>; 231 channel = <0>; 238 channel = <1>; 251 channel = <0>; [all …]
|