/Zephyr-latest/dts/bindings/sensor/ |
D | nxp,fxos8700-common.yaml | 52 pulse-cfg: 55 description: Pulse configuration register 57 pulse-thsx: 61 Pulse X-axis threshold 62 Threshold to start the pulse-event detection procedure on the X-axis. 67 pulse-thsy: 71 Pulse Y-axis threshold 72 Threshold to start the pulse-event detection procedure on the Y-axis. 77 pulse-thsz: 81 Pulse Z-axis threshold [all …]
|
D | espressif,esp32-pcnt.yaml | 6 Espressif's Pulse Counter Mode (PCNT) controller Node 8 The pulse counter module is designed to count the number of 14 Each pulse counter unit has a 16-bit signed counter register. 23 Each pulse counter unit also features a filter on each of the four inputs, 95 description: Pulse length (ns) to be ignored 118 Define what to do on the positive edge of pulse input. 131 Define what to do on the negative edge of pulse input.
|
D | hc-sr04.yaml | 20 Input pin. The pulse received on this pin corresponds to 21 the duration between the ultrasonic pulse emission and
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_shell.c | 20 uint8_t pulse; member 28 .pulse = 4, 37 uint32_t pulse; in cmd_cycles() local 49 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_cycles() 55 err = pwm_set_cycles(dev, channel, period, pulse, flags); in cmd_cycles() 70 uint32_t pulse; in cmd_usec() local 82 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_usec() 88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec() 102 uint32_t pulse; in cmd_nsec() local 114 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_nsec() [all …]
|
D | pwm_capture.c | 16 uint32_t pulse; member 30 data->pulse = pulse_cycles; in z_pwm_capture_cycles_callback() 38 uint32_t *pulse, k_timeout_t timeout) in z_impl_pwm_capture_cycles() argument 77 if (pulse != NULL) { in z_impl_pwm_capture_cycles() 78 *pulse = data.pulse; in z_impl_pwm_capture_cycles()
|
D | pwm_mcux_pwt.c | 91 LOG_ERR("Cannot capture both period and pulse width"); in mcux_pwt_configure_capture() 97 LOG_ERR("Cannot capture period in normal polarity (active-high pulse)"); in mcux_pwt_configure_capture() 179 /* Add positive pulse width */ in mcux_pwt_calc_period() 184 /* Add negative pulse width */ in mcux_pwt_calc_period() 197 uint32_t pulse; in mcux_pwt_calc_pulse() local 200 if (u32_mul_overflow(overflows, 0xFFFFU, &pulse)) { in mcux_pwt_calc_pulse() 204 /* Add pulse width */ in mcux_pwt_calc_pulse() 205 if (u32_add_overflow(pulse, pw, &pulse)) { in mcux_pwt_calc_pulse() 209 *result = pulse; in mcux_pwt_calc_pulse() 219 uint32_t pulse = 0; in mcux_pwt_isr() local [all …]
|
D | pwm_handlers.c | 13 uint32_t pulse, pwm_flags_t flags) in z_vrfy_pwm_set_cycles() argument 17 period, pulse, flags); in z_vrfy_pwm_set_cycles() 57 uint32_t pulse; in z_vrfy_pwm_capture_cycles() local 65 flags, &period, &pulse, timeout); in z_vrfy_pwm_capture_cycles() 72 K_OOPS(k_usermode_to_copy(pulse_cycles, &pulse, in z_vrfy_pwm_capture_cycles()
|
D | pwm_cc13xx_cc26xx_timer.c | 59 uint32_t pulse) in set_period_and_pulse() argument 61 uint32_t match_value = pulse; in set_period_and_pulse() 63 if (pulse == 0U) { in set_period_and_pulse() 79 LOG_ERR("Period (%d) is shorter than pulse (%d).", period, pulse); in set_period_and_pulse() 87 if (pulse > 0U) { in set_period_and_pulse() 94 LOG_DBG("Period and pulse successfully set."); in set_period_and_pulse() 98 static int set_cycles(const struct device *dev, uint32_t channel, uint32_t period, uint32_t pulse, in set_cycles() argument 113 set_period_and_pulse(config, period, pulse); in set_cycles()
|
/Zephyr-latest/tests/drivers/pwm/pwm_api/src/ |
D | test_pwm.c | 15 * -# Set PWM period and pulse using pwm_set_cycles() or pwm_set(). 20 * of period and pulse. 21 * Always on -> Period : Pulse (1 : 1) -> 3.3V 22 * Half on -> Period : Pulse (2 : 1) -> 1.65V 23 * Always off -> Period : Pulse (1 : 0) -> 0V 122 static int test_task(uint32_t port, uint32_t period, uint32_t pulse, uint8_t unit) in test_task() argument 124 TC_PRINT("[PWM]: %" PRIu8 ", [period]: %" PRIu32 ", [pulse]: %" PRIu32 "\n", in test_task() 125 port, period, pulse); in test_task() 136 if (pwm_set_cycles(pwm_dev, port, period, pulse, 0)) { in test_task() 137 TC_PRINT("Fail to set the period and pulse width\n"); in test_task() [all …]
|
/Zephyr-latest/samples/sensor/sgp40_sht4x/ |
D | Kconfig | 31 0 -> High power heater pulse -> ~200 mW @3.3V 32 1 -> Medium power heater pulse -> ~110 mW @3.3V 33 2 -> Low power heater pulse -> ~20 mW @3.3V 36 int "Heater Pulse Length Setting" 41 0 -> Long heater pulse -> 1.1s 42 1 -> Short heater pulse -> 0.11s
|
/Zephyr-latest/drivers/sensor/maxim/max30101/ |
D | Kconfig | 7 bool "MAX30101 Pulse Oximeter and Heart Rate Sensor" 87 pulse/conversion per active LED channel. In SpO2 mode, these means 88 one IR pulse/conversion and one red pulse/conversion per sample 100 hex "LED1 (red) pulse amplitude" 104 Set the pulse amplitude to control the LED1 (red) current. The actual 114 hex "LED2 (IR) pulse amplitude" 118 Set the pulse amplitude to control the LED2 (IR) current. The actual 128 hex "LED3 (green) pulse amplitude" 132 Set the pulse amplitude to control the LED3 (green) current. The 148 Set which LED and pulse amplitude are active in time slot 1. [all …]
|
/Zephyr-latest/samples/basic/servo_motor/dts/bindings/ |
D | pwm-servo.yaml | 16 min-pulse: 19 description: Minimum pulse width (nanoseconds). 21 max-pulse: 24 description: Maximum pulse width (nanoseconds).
|
/Zephyr-latest/dts/bindings/counter/ |
D | nxp,lptmr.yaml | 29 In pulse counter mode, this field selects the input clock to the glitch filter. 36 When LPTMR is in Pulse mode, this value 43 When LPTMR is in Pulse mode, this value 58 When in pulse mode, the counter is incremented every 61 Note, that the pulse mode cannot be 2 ^ 16. 69 for Time-Counter mode or for Pulse mode. 71 1 <- LPTMR is configured for Pulse Mode.
|
/Zephyr-latest/include/zephyr/drivers/ |
D | pwm.h | 57 /** PWM pin capture captures pulse width. */ 60 /** PWM pin capture captures both period and pulse width. */ 64 /** PWM pin capture captures a single period/pulse width. */ 67 /** PWM pin capture captures period/pulse width continuously. */ 385 * @param pulse_cycles Captured PWM pulse width (in clock cycles). HW specific. 399 * @brief PWM driver API call to configure PWM pin period and pulse width. 450 * @brief Set the period and pulse width for a single PWM output. 452 * The PWM period and pulse width will synchronously be set to the new values 457 * PWM period and pulse width. Depending on the hardware, changing the PWM 458 * period and/or pulse width may cause a glitch in the generated PWM signal. [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | atmel,sam-smc.yaml | 28 atmel,smc-pulse-timing = <6 6 6 6>; 39 setup, pulse and hold. The setup is used to address the memory. The pulse 47 cycle-timing (7) = setup (1) + pulse (6) + hold (0) 50 cycle-timing (10) = setup (1) + pulse (6) + hold (3) 99 on the bus during the pulse and hold steps of that signal. 112 from the bus during the pulse and hold steps of that signal. 129 atmel,smc-pulse-timing: 133 This value is used to effectivelly read/write at memory region (pulse phase). 134 The pulse value is an array of the signals NWE, NCS_WR, NRD and NCS_RD where 146 is defined as: cycle = setup + pulse + hold [all …]
|
/Zephyr-latest/drivers/sensor/sensirion/sht4x/ |
D | sht4x.h | 51 * High power heater pulse -> ~200 mW @3.3V 52 * Medium power heater pulse -> ~110 mW @3.3V 53 * Low power heater pulse -> ~20 mW @3.3V 56 * Long heater pulse -> 1.1s 57 * Short heater pulse -> 0.11s
|
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.c | 38 static void test_capture(uint32_t period, uint32_t pulse, enum test_pwm_unit unit, in test_capture() argument 52 pulse, period); in test_capture() 53 err = pwm_set(out.dev, out.pwm, period, pulse, out.flags ^= in test_capture() 59 pulse, period); in test_capture() 61 PWM_USEC(pulse), out.flags ^= in test_capture() 103 zassert_within(pulse_capture, pulse, pulse / 100, in test_capture() 104 "pulse capture off by more than 1%"); in test_capture() 163 uint32_t pulse; in ZTEST_USER() local 172 &period, &pulse, K_MSEC(1000)); in ZTEST_USER() 174 TC_PRINT("Pulse capture not supported, " in ZTEST_USER() [all …]
|
/Zephyr-latest/drivers/sensor/espressif/pcnt_esp32/ |
D | Kconfig | 1 # ESP32 Pulse Counter configuration 7 bool "ESP32 Pulse Counter driver"
|
/Zephyr-latest/drivers/sensor/nxp/fxos8700/ |
D | Kconfig | 86 bool "Pulse detection" 88 Enable pulse detection 93 bool "Pulse interrupt to INT1 pin" 95 Say Y to route pulse interrupt to INT1 pin. Say N to route to INT2 pin.
|
/Zephyr-latest/samples/basic/servo_motor/ |
D | README.rst | 15 This app is targeted for servomotor ROB-09065. The corresponding PWM pulse 17 Different servomotors may require different PWM pulse widths, and you may need 34 min-pulse = <PWM_USEC(700)>; 35 max-pulse = <PWM_USEC(2500)>;
|
/Zephyr-latest/samples/basic/fade_led/ |
D | sample.yaml | 18 - "Using pulse width [0-9]+%" 19 - "Using pulse width [0-9]+%"
|
/Zephyr-latest/samples/basic/servo_motor/boards/ |
D | bbc_microbit.overlay | 6 min-pulse = <PWM_USEC(700)>; 7 max-pulse = <PWM_USEC(2500)>;
|
/Zephyr-latest/dts/bindings/gnss/ |
D | gnss-pps.yaml | 20 pps-pulse-width: 22 description: 1PPS pulse width
|
/Zephyr-latest/dts/bindings/watchdog/ |
D | intel,adsp-watchdog.yaml | 21 reset-pulse-length: 32 description: Duration of the reset pulse in clock cycles
|
D | snps,designware-watchdog.yaml | 21 reset-pulse-length: 32 description: Duration of the reset pulse in clock cycles
|