Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
counter_top_cfg Struct Reference

Top value configuration structure. More...

#include <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: