/Zephyr-latest/drivers/pwm/ |
D | pwm_sam0_tcc.c | 47 uint32_t channel, uint64_t *cycles) in pwm_sam0_get_cycles_per_sec() argument 51 if (channel >= cfg->channels) { in pwm_sam0_get_cycles_per_sec() 59 static int pwm_sam0_set_cycles(const struct device *dev, uint32_t channel, in pwm_sam0_set_cycles() argument 66 uint32_t invert_mask = 1 << channel; in pwm_sam0_set_cycles() 70 if (channel >= cfg->channels) { in pwm_sam0_set_cycles() 83 regs->CCBUF[channel].reg = TCC_CCBUF_CCBUF(pulse_cycles); in pwm_sam0_set_cycles() 87 regs->CCB[channel].reg = TCC_CCB_CCB(pulse_cycles); in pwm_sam0_set_cycles()
|
/Zephyr-latest/tests/drivers/adc/adc_api/boards/ |
D | nucleo_g071rb.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 22 channel@0 { 30 channel@1 {
|
D | disco_l475_iot1.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 21 channel@4 { 29 channel@5 {
|
D | stm32f3_disco.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 22 channel@1 { 30 channel@2 {
|
D | nucleo_f091rc.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 22 channel@0 { 30 channel@1 {
|
D | nucleo_l073rz.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 22 channel@0 { 30 channel@1 {
|
D | nucleo_l152re.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 22 channel@0 { 30 channel@1 {
|
D | nucleo_u083rc.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 22 channel@0 { 30 channel@1 {
|
D | nucleo_wb05kz.overlay | 21 vinp0: channel@4 { 29 adc_vbat_ch: channel@c { 37 adc_tempsensor_ch: channel@d {
|
D | nucleo_wb09ke.overlay | 21 vinp0: channel@4 { 29 adc_vbat_ch: channel@c { 37 adc_tempsensor_ch: channel@d {
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 17 channel@0 { 26 channel@1 { 35 channel@2 {
|
D | nucleo_f746zg.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 23 channel@0 { 31 channel@3 {
|
D | nucleo_g474re.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 23 channel@1 { 31 channel@2 {
|
D | stm32h573i_dk.overlay | 10 /* adjust channel number according to pinmux in board.dts */ 23 channel@3 { 31 channel@6 {
|
D | b_u585i_iot02a.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 22 channel@f { 30 channel@10 {
|
D | frdm_rw612.overlay | 10 /* adjust channel number according to pinmux in board.dts */ 19 channel@0 { 29 channel@1 {
|
/Zephyr-latest/drivers/dac/ |
D | dac_sam.c | 98 static int dac_sam_write_value(const struct device *dev, uint8_t channel, in dac_sam_write_value() argument 105 if (channel >= DAC_CHANNEL_NO) { in dac_sam_write_value() 109 if (dac->DACC_IMR & (DACC_IMR_TXRDY0 << channel)) { in dac_sam_write_value() 119 k_sem_take(&dev_data->dac_channels[channel].sem, K_FOREVER); in dac_sam_write_value() 122 dac->DACC_CDR[channel] = DACC_CDR_DATA0(value); in dac_sam_write_value() 125 dac->DACC_IER = DACC_IER_TXRDY0 << channel; in dac_sam_write_value()
|
D | dac_dacx3608.c | 130 static int dacx3608_write_value(const struct device *dev, uint8_t channel, in dacx3608_write_value() argument 138 const bool brdcast = (channel == DAC_CHANNEL_BROADCAST) ? 1 : 0; in dacx3608_write_value() 140 if (!brdcast && (channel > DACX3608_MAX_CHANNEL - 1)) { in dacx3608_write_value() 141 LOG_ERR("Unsupported channel %d", channel); in dacx3608_write_value() 149 if ((brdcast && !data->configured) || (!(data->configured & BIT(channel)))) { in dacx3608_write_value() 150 LOG_ERR("Channel %d not initialized", channel); in dacx3608_write_value() 171 const uint8_t reg = brdcast ? DACX3608_REG_BRDCAST : DACX3608_REG_DACA_DATA + channel; in dacx3608_write_value() 175 LOG_ERR("Unable to set value %d on channel %d", value, channel); in dacx3608_write_value()
|
/Zephyr-latest/tests/drivers/counter/counter_basic_api/boards/ |
D | lpcxpresso55s69_lpc55s69_cpu0.overlay | 11 /* channel 2 disabled to test disabled channel not breaking things */
|
/Zephyr-latest/tests/drivers/adc/adc_rescale/boards/ |
D | native_sim.overlay | 35 #io-channel-cells = <1>; 44 channel@0 { 53 channel@1 { 62 channel@2 {
|
/Zephyr-latest/drivers/adc/ |
D | adc_mcp320x.c | 176 static int mcp320x_read_channel(const struct device *dev, uint8_t channel, in mcp320x_read_channel() argument 217 tx_bytes[0] = BIT(2) | channel >> 2; in mcp320x_read_channel() 218 tx_bytes[1] = channel << 6; in mcp320x_read_channel() 220 if ((data->differential & BIT(channel)) == 0) { in mcp320x_read_channel() 242 uint8_t channel; in mcp320x_acquisition_thread() local 249 channel = find_lsb_set(data->channels) - 1; in mcp320x_acquisition_thread() 251 LOG_DBG("reading channel %d", channel); in mcp320x_acquisition_thread() 253 err = mcp320x_read_channel(data->dev, channel, &result); in mcp320x_acquisition_thread() 256 channel, err); in mcp320x_acquisition_thread() 261 LOG_DBG("read channel %d, result = %d", channel, in mcp320x_acquisition_thread() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/ |
D | main_l2cap_userdata.c | 70 static struct bt_l2cap_le_chan channel; variable 75 channel.chan.ops = &l2cap_ops; in accept() 76 *l2cap_chan = &channel.chan; in accept() 77 channel.rx.mtu = DATA_SIZE; in accept() 90 struct bt_l2cap_chan *chans[] = {&channel.chan, NULL}; in connect_l2cap_channel() 93 channel.chan.ops = &l2cap_ops; in connect_l2cap_channel() 95 channel.rx.mtu = DATA_SIZE; in connect_l2cap_channel() 259 err = bt_l2cap_chan_send(&channel.chan, buf); in test_central_main()
|
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
D | frdm_rw612.overlay | 10 /* adjust channel number according to pinmux in board.dts */ 19 channel@0 { 29 channel@1 {
|
D | lpcxpresso55s36.overlay | 11 /* adjust channel number according to pinmux in board.dts */ 21 * This sample requires PIO1_9 found on J7 pin 1 as the ADC0 channel 3 input 25 channel@0 {
|
D | rd_rw612_bga.overlay | 10 /* adjust channel number according to pinmux in board.dts */ 19 channel@0 { 29 channel@1 {
|