MSP430™CapTIvateSoftwareLibraryAPIGuide 1_70_00_03

Data Fields
tFunctionTimer Struct Reference
FunctionTimer

`#include <FunctionTimer.h>`

## Data Fields
uint16_t | ui16FunctionDelay_A
bool(* | pbFunction_A )(void)
uint16_t | ui16FunctionDelay_B
bool(* | pbFunction_B )(void)

## Detailed Description

typedef tFunctionTimer defines the configuration structure for a function timer. One instance of this structure must be created by the user and passed to the Timer_startDelayedFunctionTimer function. This structure identifies the pointers and delays for function A and function B.

## Field Documentation

## § ui16FunctionDelay_A

uint16_t tFunctionTimer::ui16FunctionDelay_A

ui16FunctionDelay_A stores the delay (in timer clock cycles) that is applied to function A.

Referenced by Timer_scheduleDelayedFunction().

## § pbFunction_A

bool(* tFunctionTimer::pbFunction_A) (void)

pbFunction_A stores the pointer to function A, which will be called ui16FunctionDelay_A seconds after Timer_scheduleDelayedFunction() is called with eTimerDelayedFunction_A specified.

Referenced by FunctionTimer_A_ISR().

## § ui16FunctionDelay_B

uint16_t tFunctionTimer::ui16FunctionDelay_B

ui16FunctionDelay_B stores the delay (in timer clock cycles) that is applied to function B.

Referenced by Timer_scheduleDelayedFunction().

## § pbFunction_B

bool(* tFunctionTimer::pbFunction_B) (void)

pbFunction_B stores the pointer to function B, which will be called ui16FunctionDelay_B seconds after Timer_scheduleDelayedFunction() is called with eTimerDelayedFunction_B specified.

Referenced by FunctionTimer_B_ISR().

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

- FunctionTimer.h

© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale