Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
counter_config_info Struct Reference

Structure with generic counter features. More...

#include <counter.h>

Data Fields

uint32_t max_top_value
 Maximal (default) top value on which counter is reset (cleared or reloaded).
 
uint32_t freq
 Frequency of the source clock if synchronous events are counted.
 
uint8_t flags
 Flags (see COUNTER_FLAGS).
 
uint8_t channels
 Number of channels that can be used for setting alarm.
 

Detailed Description

Structure with generic counter features.

Field Documentation

◆ channels

uint8_t counter_config_info::channels

Number of channels that can be used for setting alarm.

See also
counter_set_channel_alarm

◆ flags

uint8_t counter_config_info::flags

Flags (see COUNTER_FLAGS).

◆ freq

uint32_t counter_config_info::freq

Frequency of the source clock if synchronous events are counted.

◆ max_top_value

uint32_t counter_config_info::max_top_value

Maximal (default) top value on which counter is reset (cleared or reloaded).


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