Data Fields
PWMTimerCC26XX_Object Struct Reference

PWMTimer26XX Object. More...

#include <PWMTimerCC26XX.h>

Collaboration diagram for PWMTimerCC26XX_Object:
Collaboration graph
[legend]

Data Fields

bool isOpen
 
bool isRunning
 
PWM_Period_Units periodUnit
 
uint32_t periodValue
 
uint32_t periodCounts
 
PWM_Duty_Units dutyUnit
 
uint32_t dutyValue
 
uint32_t dutyCounts
 
PWM_IdleLevel idleLevel
 
GPTimerCC26XX_Handle hTimer
 

Detailed Description

PWMTimer26XX Object.

These fields are used by the driver to store and modify PWM configuration during run-time. The application must not edit any member variables of this structure. Appplications should also not access member variables of this structure as backwards compatibility is not guaranteed. A sample structure is shown below:

// PWM object, one per PWM output
PWMTimerCC26XX_Object pwmtimerCC26xxObjects[CC2650_PWMCOUNT];

Field Documentation

§ isOpen

bool PWMTimerCC26XX_Object::isOpen

open flag used to check if PWM is opened

§ isRunning

bool PWMTimerCC26XX_Object::isRunning

running flag, set if the output is active

§ periodUnit

PWM_Period_Units PWMTimerCC26XX_Object::periodUnit

Current period unit

§ periodValue

uint32_t PWMTimerCC26XX_Object::periodValue

Current period value in unit

§ periodCounts

uint32_t PWMTimerCC26XX_Object::periodCounts

Current period in raw timer counts

§ dutyUnit

PWM_Duty_Units PWMTimerCC26XX_Object::dutyUnit

Current duty cycle unit

§ dutyValue

uint32_t PWMTimerCC26XX_Object::dutyValue

Current duty cycle value in unit

§ dutyCounts

uint32_t PWMTimerCC26XX_Object::dutyCounts

Current duty in raw timer counts

§ idleLevel

PWM_IdleLevel PWMTimerCC26XX_Object::idleLevel

PWM idle level when stopped / not started

§ hTimer

GPTimerCC26XX_Handle PWMTimerCC26XX_Object::hTimer

Handle to underlying GPTimer peripheral


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale