/Zephyr-latest/drivers/pwm/ |
D | pwm_mc_esp32.c | 83 struct mcpwm_esp32_capture_config capture; member 295 struct mcpwm_esp32_capture_config *capture = &channel->capture; in mcpwm_esp32_configure_capture() local 307 if (data->hal.dev->cap_chn_cfg[capture->capture_signal].capn_en) { in mcpwm_esp32_configure_capture() 318 capture->capture_signal = channel->idx - CAPTURE_CHANNEL_IDX; in mcpwm_esp32_configure_capture() 319 capture->callback = cb; in mcpwm_esp32_configure_capture() 320 capture->user_data = user_data; in mcpwm_esp32_configure_capture() 321 capture->capture_period = (flags & PWM_CAPTURE_TYPE_PERIOD); in mcpwm_esp32_configure_capture() 322 capture->capture_pulse = (flags & PWM_CAPTURE_TYPE_PULSE); in mcpwm_esp32_configure_capture() 323 capture->continuous = (flags & PWM_CAPTURE_MODE_CONTINUOUS); in mcpwm_esp32_configure_capture() 333 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_renesas_ra.c | 46 struct pwm_renesas_ra_capture_data capture; member 248 if (data->capture.is_busy) { in pwm_renesas_ra_configure_capture() 254 data->capture.is_pulse_capture = false; in pwm_renesas_ra_configure_capture() 271 data->capture.is_pulse_capture = true; in pwm_renesas_ra_configure_capture() 296 data->capture.callback = cb; in pwm_renesas_ra_configure_capture() 297 data->capture.user_data = user_data; in pwm_renesas_ra_configure_capture() 298 data->capture.continuous = flags & PWM_CAPTURE_MODE_CONTINUOUS; in pwm_renesas_ra_configure_capture() 300 if (data->capture.continuous) { in pwm_renesas_ra_configure_capture() 321 if (data->capture.is_busy) { in pwm_renesas_ra_enable_capture() 326 if (!data->capture.callback) { in pwm_renesas_ra_enable_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-latest/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-latest/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 59 ``net-capture.py`` script from ``net-tools`` project to print or save the 60 captured network packets. The ``net-capture.py`` provides an UDP listener, 66 $ ./net-capture.py -i zeth-ip6ip -w capture.pcap 76 The ``net-capture.py`` has following command line options: 81 ./net-capture.py \ 85 UDP port (default is 4242) where the capture data is received 93 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-latest/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-latest/samples/drivers/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. 27 Also :ref:`arduino_nicla_vision_board` can be used in this sample as capture device, in that case 49 :zephyr-app: samples/drivers/video/capture 58 :zephyr-app: samples/drivers/video/capture 67 :zephyr-app: samples/drivers/video/capture 72 For testing purpose without the need of any real video capture and/or display hardwares,
|
D | Kconfig | 4 mainmenu "Video capture sample application" 6 menu "Video capture configuration"
|
/Zephyr-latest/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-latest/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-latest/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-latest/samples/drivers/video/capture_to_lvgl/ |
D | Kconfig | 6 mainmenu "Video capture to LVGL sample application" 8 menu "Video capture configuration"
|
D | README.rst | 1 .. zephyr:code-sample:: video-capture-to-lvgl 2 :name: Video capture to LVGL 11 a video capture device, write a frame count message to the console, and then send 17 This sample requires a supported :ref:`video capture device <video_api>` (e.g., a camera)
|
/Zephyr-latest/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-latest/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-latest/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-latest/tests/kernel/fatal/message_capture/ |
D | README | 4 the system can capture the print information.
|