MetaWear C++ API  0.20.0
C++ implementation of the MetaWear protocol
Typedefs
timer_fwd.h File Reference

Forward declaration of the MblMwTimer type. More...

Go to the source code of this file.

Typedefs

typedef struct MblMwTimer MblMwTimer
 On board timer that periodically fires events. More...
 
typedef void(* MblMwFnTimerPtr) (void *context, MblMwTimer *timer)
 Definition for callback functions that accept an MblMwTimer pointer. More...
 

Detailed Description

Forward declaration of the MblMwTimer type.

Typedef Documentation

◆ MblMwFnTimerPtr

typedef void(* MblMwFnTimerPtr) (void *context, MblMwTimer *timer)

Definition for callback functions that accept an MblMwTimer pointer.

Parameters
contextPointer to the context the enclosing function was called with
timerTimer to be used with the function

◆ MblMwTimer

typedef struct MblMwTimer MblMwTimer

On board timer that periodically fires events.

An MblMwTimer pointer can be casted as an MblMwEvent pointer and used with any function that accepts an MblMwEvent pointer.