Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
 4.2.0-rc3
counter_top_cfg Struct Reference

Top value configuration structure. More...

#include <zephyr/drivers/counter.h>

Data Fields

uint32_t ticks
 Top value.
counter_top_callback_t callback
 Callback function (can be NULL).
void * user_data
 User data passed to callback function (not valid if callback is NULL).
uint32_t flags
 Flags (see COUNTER_TOP_FLAGS).

Detailed Description

Top value configuration structure.

Field Documentation

◆ callback

counter_top_callback_t counter_top_cfg::callback

Callback function (can be NULL).

◆ flags

uint32_t counter_top_cfg::flags

Flags (see COUNTER_TOP_FLAGS).

◆ ticks

uint32_t counter_top_cfg::ticks

Top value.

◆ user_data

void* counter_top_cfg::user_data

User data passed to callback function (not valid if callback is NULL).


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