/Zephyr-Core-3.7.0/drivers/pwm/ |
D | pwm_mc_esp32.c | 75 struct mcpwm_esp32_capture_config capture; member 279 struct mcpwm_esp32_capture_config *capture = &channel->capture; in mcpwm_esp32_configure_capture() local 291 if (data->hal.dev->cap_chn_cfg[capture->capture_signal].capn_en) { in mcpwm_esp32_configure_capture() 302 capture->capture_signal = channel->idx - CAPTURE_CHANNEL_IDX; in mcpwm_esp32_configure_capture() 303 capture->callback = cb; in mcpwm_esp32_configure_capture() 304 capture->user_data = user_data; in mcpwm_esp32_configure_capture() 305 capture->capture_period = (flags & PWM_CAPTURE_TYPE_PERIOD); in mcpwm_esp32_configure_capture() 306 capture->capture_pulse = (flags & PWM_CAPTURE_TYPE_PULSE); in mcpwm_esp32_configure_capture() 307 capture->continuous = (flags & PWM_CAPTURE_MODE_CONTINUOUS); in mcpwm_esp32_configure_capture() 317 struct mcpwm_esp32_capture_config *capture = &channel->capture; in mcpwm_esp32_disable_capture() local [all …]
|
D | pwm_mcux_ftm.c | 60 struct mcux_ftm_capture_data capture[MAX_CAPTURE_PAIRS]; member 162 if (pair >= ARRAY_SIZE(data->capture)) { in mcux_ftm_configure_capture() 182 data->capture[pair].callback = cb; in mcux_ftm_configure_capture() 183 data->capture[pair].user_data = user_data; in mcux_ftm_configure_capture() 184 param = &data->capture[pair].param; in mcux_ftm_configure_capture() 193 data->capture[pair].pulse_capture = false; in mcux_ftm_configure_capture() 203 data->capture[pair].pulse_capture = true; in mcux_ftm_configure_capture() 228 if (pair >= ARRAY_SIZE(data->capture)) { in mcux_ftm_enable_capture() 233 if (!data->capture[pair].callback) { in mcux_ftm_enable_capture() 246 FTM_SetupDualEdgeCapture(config->base, pair, &data->capture[pair].param, in mcux_ftm_enable_capture() [all …]
|
D | pwm_numaker.c | 61 struct pwm_numaker_capture_data capture[NUMAKER_PWM_CHANNEL_COUNT]; member 146 data->capture[pair].callback = cb; in pwm_numaker_configure_capture() 147 data->capture[pair].user_data = user_data; in pwm_numaker_configure_capture() 149 if (data->capture[pair].is_busy) { in pwm_numaker_configure_capture() 159 data->capture[pair].single_mode = false; in pwm_numaker_configure_capture() 161 data->capture[pair].single_mode = true; in pwm_numaker_configure_capture() 165 data->capture[pair].pulse_capture = false; in pwm_numaker_configure_capture() 168 data->capture[pair].curr_edge_mode = EPWM_CAPTURE_INT_FALLING_LATCH; in pwm_numaker_configure_capture() 169 data->capture[pair].next_edge_mode = EPWM_CAPTURE_INT_FALLING_LATCH; in pwm_numaker_configure_capture() 171 data->capture[pair].curr_edge_mode = EPWM_CAPTURE_INT_RISING_LATCH; in pwm_numaker_configure_capture() [all …]
|
D | pwm_nxp_s32_emios.c | 57 struct pwm_nxp_s32_capture_data capture[EMIOS_ICU_IP_NUM_OF_CHANNELS]; member 287 data->capture[channel].continuous = (flags & PWM_CAPTURE_MODE_MASK); in pwm_nxp_s32_capture_configure() 288 data->capture[channel].inverted = (flags & PWM_POLARITY_MASK); in pwm_nxp_s32_capture_configure() 289 data->capture[channel].pulse_capture = (flags & PWM_CAPTURE_TYPE_PULSE); in pwm_nxp_s32_capture_configure() 290 data->capture[channel].period_capture = (flags & PWM_CAPTURE_TYPE_PERIOD); in pwm_nxp_s32_capture_configure() 291 data->capture[channel].callback = cb; in pwm_nxp_s32_capture_configure() 292 data->capture[channel].user_data = user_data; in pwm_nxp_s32_capture_configure() 316 if (!data->capture[channel].callback) { in pwm_nxp_s32_capture_enable() 328 if (data->capture[channel].period_capture && !data->capture[channel].pulse_capture) { in pwm_nxp_s32_capture_enable() 341 data->capture[channel].edge_buff, in pwm_nxp_s32_capture_enable() [all …]
|
D | Kconfig.mcux_pwt | 7 bool "MCUX PWT PWM capture driver" 13 Enable the MCUX Pulse Width Timer (PWT) PWM capture driver.
|
D | Kconfig.mcux_ftm | 15 int "MCUX FTM PWM capture filter value" 20 PWM capture filter value for channels 0 and 2.
|
/Zephyr-Core-3.7.0/doc/connectivity/networking/api/ |
D | capture.rst | 21 If capturing is enabled and configured, the system will automatically capture 22 network traffic for a given network interface. If you would like to capture 24 the cooked mode capture API. 26 In cooked mode capture, arbitrary network packets can be captured and there 29 using the normal network interface based capture. Also CANBUS or Bluetooth 31 network stack to capture those. 33 The cooked mode capture works like this: 36 mode captured packets are written by the cooked mode capture API. 39 * The ``cooked`` interface must be configured to capture certain L2 packet types 41 * When cooked mode capture API is used, the caller must specify what is the [all …]
|
D | apis.rst | 21 capture.rst
|
/Zephyr-Core-3.7.0/doc/connectivity/networking/ |
D | network_monitoring.rst | 12 Zephyr. This page describes how to set up a way to capture network traffic so 16 See also the :zephyr:code-sample:`net-capture` sample application from the Zephyr 22 The instructions here describe how to setup a Linux host to capture Zephyr 57 ``net-capture.py`` script from ``net-tools`` project to print or save the 58 captured network packets. The ``net-capture.py`` provides an UDP listener, 64 $ ./net-capture.py -i zeth-ip6ip -w capture.pcap 74 The ``net-capture.py`` has following command line options: 79 ./net-capture.py \ 83 UDP port (default is 4242) where the capture data is received 91 Instead of the ``net-capture.py`` script, you can for example use ``netcat`` [all …]
|
D | qemu_802154_setup.rst | 22 If you want to capture the transferred network data, you must compile the 47 If you want to capture the network traffic between the two QEMUs, type: 54 :gen-args: -G'Unix Makefiles' -DEXTRA_CONF_FILE=overlay-qemu_802154.conf -DPCAP=capture.pcap 58 Note that the ``make`` must be used for ``server`` target if packet capture 59 option is set in command line. The ``build/server/capture.pcap`` file will contain the
|
/Zephyr-Core-3.7.0/subsys/net/lib/capture/ |
D | Kconfig | 7 bool "Network packet capture support" 15 This option allows user to capture network packets. 25 int "How many network packets to allocate for capture" 35 int "How many network buffers to allocate for capture" 42 int "Number of network capture devices" 45 Number of network capture devices. Usually one is enough but 56 This enables application to capture packets in so called 86 This sets the name of the cooked mode capture network interface. 89 int "How many link types (ETH_P_*) to capture at the same time" 99 module-str = Log level for network capture API [all …]
|
D | CMakeLists.txt | 6 zephyr_library_sources(capture.c)
|
/Zephyr-Core-3.7.0/drivers/sensor/ene_tach_kb1200/ |
D | tach_ene_kb1200.c | 27 uint32_t capture; member 69 data->capture = 0; in tach_kb1200_sample_fetch() 78 data->capture = config->tacho->TACHOCV & TACHO_CNT_MAX_VALUE; in tach_kb1200_sample_fetch() 93 if (data->capture > 0) { in tach_kb1200_channel_get() 99 val->val1 = (60000000 / (config->sample_time_us * data->capture)) / in tach_kb1200_channel_get()
|
/Zephyr-Core-3.7.0/samples/subsys/video/capture/ |
D | README.rst | 1 .. zephyr:code-sample:: video-capture 2 :name: Video capture 5 Use the video API to retrieve video frames from a capture device. 10 This sample application uses the :ref:`video_api` to capture frames from a video capture 16 This sample needs a video capture device (e.g. a camera) but it is not mandatory. 44 :zephyr-app: samples/subsys/video/capture 53 :zephyr-app: samples/subsys/video/capture 59 For testing purpose without the need of any real video capture and/or display hardwares,
|
/Zephyr-Core-3.7.0/drivers/sensor/ite/ite_tach_it8xxx2/ |
D | tach_ite_it8xxx2.c | 83 uint32_t capture; member 129 data->capture = ((*reg_fxtmrr) << 8) | (*reg_fxtlrr); in tach_it8xxx2_sample_fetch() 134 data->capture = 0; in tach_it8xxx2_sample_fetch() 155 if (data->capture > 0) { in tach_it8xxx2_channel_get() 163 val->val1 = (60 * TACH_FREQ / 128 / p / (data->capture)); in tach_it8xxx2_channel_get() 170 val->val1 = ((data->capture) * 120 / (p * 2)); in tach_it8xxx2_channel_get()
|
/Zephyr-Core-3.7.0/samples/net/capture/ |
D | Kconfig | 1 # Private config options for capture sample app 6 mainmenu "Networking capture sample application"
|
D | README.rst | 1 .. zephyr:code-sample:: net-capture 2 :name: Network packet capture 11 to enable network packet capture. 32 :zephyr-app: samples/net/capture 148 uart:~$ net capture setup 192.0.2.2 2001:db8:200::1 2001:db8:200::2 149 Capture setup done, next enable it by "net capture enable <idx>" 151 The ``net capture`` command will show current configuration. As we have not 156 uart:~$ net capture 157 Network packet capture disabled 166 uart:~$ net capture enable 2
|
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_behavior/pytest/ |
D | saleae_logic2.py | 37 capture_configuration=capture_configuration) as capture: 39 capture.wait() 41 capture.export_raw_data_csv(directory=output_dir,
|
/Zephyr-Core-3.7.0/tests/drivers/pwm/pwm_loopback/boards/ |
D | nucleo_h743zi.overlay | 36 * the four-channel-capture-support in this test. 38 four-channel-capture-support;
|
/Zephyr-Core-3.7.0/drivers/sensor/nuvoton/nuvoton_tach_npcx/ |
D | tach_nuvoton_npcx.c | 74 uint32_t capture; member 264 data->capture = 0; in tach_npcx_sample_fetch() 274 data->capture = NPCX_TACHO_CNT_MAX - in tach_npcx_sample_fetch() 292 if (data->capture > 0) { in tach_npcx_channel_get() 300 (config->pulses_per_round * data->capture); in tach_npcx_channel_get()
|
/Zephyr-Core-3.7.0/tests/kernel/fatal/message_capture/ |
D | README | 4 the system can capture the print information.
|
/Zephyr-Core-3.7.0/tests/bsim/ |
D | generate_coverage_report.sh | 47 lcov --capture --directory ${WORK_DIR} --output-file ${OUTPUT_DIR}/coverage.pre.info \
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_syst/ |
D | Kconfig | 8 used to capture the output buffer used for validation of
|
/Zephyr-Core-3.7.0/samples/subsys/video/tcpserversink/ |
D | README.rst | 10 This sample application gets frames from a video capture device and sends 16 This samples requires a video capture device and network support.
|
/Zephyr-Core-3.7.0/subsys/net/lib/ |
D | CMakeLists.txt | 15 add_subdirectory_ifdef(CONFIG_NET_CAPTURE capture)
|