CooCox 1.1.4 on mbed with simple blinky example

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

tmrCtrl Struct Reference

tmrCtrl Struct Reference

Timer control block. More...

Data Fields

OS_TCID tmrID
U8 tmrType
U8 tmrState
U32 tmrCnt
U32 tmrReload
vFUNCPtr tmrCallBack
struct tmrCtrltmrNext
struct tmrCtrltmrPrev

Detailed Description

Timer control block.

This struct is use to manage user timer.

Definition at line 30 of file OsTimer.h.


Field Documentation

vFUNCPtr tmrCallBack

Call-back Function When Timer overrun.

Definition at line 37 of file OsTimer.h.

U32 tmrCnt

Timer Counter.

Definition at line 35 of file OsTimer.h.

OS_TCID tmrID

Timer ID.

Definition at line 32 of file OsTimer.h.

struct tmrCtrl* tmrNext

Point to Next Timer Control Block.

Definition at line 38 of file OsTimer.h.

struct tmrCtrl* tmrPrev

Point to Previous Timer Control Block

Definition at line 39 of file OsTimer.h.

U32 tmrReload

Timer Reload Counter Value.

Definition at line 36 of file OsTimer.h.

Timer State.

Definition at line 34 of file OsTimer.h.

U8 tmrType

Timer Type.

Definition at line 33 of file OsTimer.h.