Home
last modified time | relevance | path

Searched refs:channel (Results 201 – 225 of 1368) sorted by relevance

12345678910>>...55

/Zephyr-latest/drivers/pwm/
Dpwm_sam0_tcc.c47 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/
Dnucleo_g071rb.overlay9 /* adjust channel number according to pinmux in board.dts */
22 channel@0 {
30 channel@1 {
Ddisco_l475_iot1.overlay9 /* adjust channel number according to pinmux in board.dts */
21 channel@4 {
29 channel@5 {
Dstm32f3_disco.overlay9 /* adjust channel number according to pinmux in board.dts */
22 channel@1 {
30 channel@2 {
Dnucleo_f091rc.overlay9 /* adjust channel number according to pinmux in board.dts */
22 channel@0 {
30 channel@1 {
Dnucleo_l073rz.overlay9 /* adjust channel number according to pinmux in board.dts */
22 channel@0 {
30 channel@1 {
Dnucleo_l152re.overlay9 /* adjust channel number according to pinmux in board.dts */
22 channel@0 {
30 channel@1 {
Dnucleo_u083rc.overlay9 /* adjust channel number according to pinmux in board.dts */
22 channel@0 {
30 channel@1 {
Dnucleo_wb05kz.overlay21 vinp0: channel@4 {
29 adc_vbat_ch: channel@c {
37 adc_tempsensor_ch: channel@d {
Dnucleo_wb09ke.overlay21 vinp0: channel@4 {
29 adc_vbat_ch: channel@c {
37 adc_tempsensor_ch: channel@d {
Dnrf54l15dk_nrf54l15_cpuapp.overlay17 channel@0 {
26 channel@1 {
35 channel@2 {
Dnucleo_f746zg.overlay9 /* adjust channel number according to pinmux in board.dts */
23 channel@0 {
31 channel@3 {
Dnucleo_g474re.overlay9 /* adjust channel number according to pinmux in board.dts */
23 channel@1 {
31 channel@2 {
Dstm32h573i_dk.overlay10 /* adjust channel number according to pinmux in board.dts */
23 channel@3 {
31 channel@6 {
Db_u585i_iot02a.overlay9 /* adjust channel number according to pinmux in board.dts */
22 channel@f {
30 channel@10 {
Dfrdm_rw612.overlay10 /* adjust channel number according to pinmux in board.dts */
19 channel@0 {
29 channel@1 {
/Zephyr-latest/drivers/dac/
Ddac_sam.c98 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()
Ddac_dacx3608.c130 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/
Dlpcxpresso55s69_lpc55s69_cpu0.overlay11 /* channel 2 disabled to test disabled channel not breaking things */
/Zephyr-latest/tests/drivers/adc/adc_rescale/boards/
Dnative_sim.overlay35 #io-channel-cells = <1>;
44 channel@0 {
53 channel@1 {
62 channel@2 {
/Zephyr-latest/drivers/adc/
Dadc_mcp320x.c176 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/
Dmain_l2cap_userdata.c70 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/
Dfrdm_rw612.overlay10 /* adjust channel number according to pinmux in board.dts */
19 channel@0 {
29 channel@1 {
Dlpcxpresso55s36.overlay11 /* 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 {
Drd_rw612_bga.overlay10 /* adjust channel number according to pinmux in board.dts */
19 channel@0 {
29 channel@1 {

12345678910>>...55