Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
counter_alarm_dt_spec Struct Reference

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

#include <zephyr/drivers/counter.h>

Data Fields

const struct device * dev
 Counter device instance.
uint8_t chan_id
 Channel ID.

Detailed Description

Container for counter alarm information specified in devicetree.

This type contains a pointer to a counter device and the alarm channel (controlled by the counter device) to use on it.

See also
COUNTER_ALARM_DT_SPEC_GET_BY_NAME
COUNTER_ALARM_DT_SPEC_GET_BY_NAME_OR
COUNTER_ALARM_DT_SPEC_GET_BY_IDX
COUNTER_ALARM_DT_SPEC_GET_BY_IDX_OR
COUNTER_ALARM_DT_SPEC_GET
COUNTER_ALARM_DT_SPEC_GET_OR

Field Documentation

◆ chan_id

uint8_t counter_alarm_dt_spec::chan_id

Channel ID.

◆ dev

const struct device* counter_alarm_dt_spec::dev

Counter device instance.


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