Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
counter_capture_dt_spec Struct Reference

Container for counter capture information specified in devicetree. More...

#include <zephyr/drivers/counter.h>

Data Fields

const struct devicedev
 Counter device instance.
counter_capture_flags_t flags
 Capture flags.
uint8_t chan_id
 Channel ID.

Detailed Description

Container for counter capture information specified in devicetree.

This type contains a pointer to a counter device, a channel number (controlled by the counter device), and capture flags applicable to the channel.

See also
COUNTER_CAPTURE_DT_SPEC_GET_BY_NAME
COUNTER_CAPTURE_DT_SPEC_GET_BY_NAME_OR
COUNTER_CAPTURE_DT_SPEC_GET_BY_IDX
COUNTER_CAPTURE_DT_SPEC_GET_BY_IDX_OR
COUNTER_CAPTURE_DT_SPEC_GET
COUNTER_CAPTURE_DT_SPEC_GET_OR

Field Documentation

◆ chan_id

uint8_t counter_capture_dt_spec::chan_id

Channel ID.

◆ dev

const struct device* counter_capture_dt_spec::dev

Counter device instance.

◆ flags

counter_capture_flags_t counter_capture_dt_spec::flags

Capture flags.


The documentation for this struct was generated from the following file: