tinyOS  v1.00
_tTimer Struct Reference

#include <tTimer.h>

Collaboration diagram for _tTimer:

Data Fields

tNode linkNode
 
uint32_t startDelayTicks
 
uint32_t durationTicks
 
uint32_t delayTicks
 
void(* timerFunc )(void *arg)
 
void * arg
 
uint32_t config
 
tTimerState state
 

Detailed Description

Definition at line 33 of file tTimer.h.

Field Documentation

◆ arg

void* arg

传递给回调函数的参数

Definition at line 41 of file tTimer.h.

◆ config

uint32_t config

定时器配置参数

Definition at line 43 of file tTimer.h.

◆ delayTicks

uint32_t delayTicks

当前定时递减计数值

Definition at line 38 of file tTimer.h.

◆ durationTicks

uint32_t durationTicks

周期定时时的周期tick数

Definition at line 37 of file tTimer.h.

◆ linkNode

tNode linkNode

链表结点

Definition at line 34 of file tTimer.h.

◆ startDelayTicks

uint32_t startDelayTicks

初次启动延后的ticks数

Definition at line 36 of file tTimer.h.

◆ state

tTimerState state

定时器状态

Definition at line 44 of file tTimer.h.

◆ timerFunc

void(* timerFunc) (void *arg)

定时回调函数

Definition at line 40 of file tTimer.h.


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