Data Fields
LED_Object Struct Reference

LED Object structure. More...

#include <LED.h>

Collaboration diagram for LED_Object:
Collaboration graph
[legend]

Data Fields

uint32_t pwmPeriod
 
PWM_Handle pwmHandle
 
ClockP_Handle clockHandle
 
ClockP_Struct clock
 
LED_State state
 
LED_State rawState
 
LED_Type ledType
 
uint8_t brightness
 
uint_least8_t gpioIndex
 
uint16_t togglePeriod
 
uint16_t blinkCount
 

Detailed Description

LED Object structure.

The application must not access any member variables of this structure!

Field Documentation

§ pwmPeriod

uint32_t LED_Object::pwmPeriod

pwmPeriod(us) of controlling PWM

§ pwmHandle

PWM_Handle LED_Object::pwmHandle

Used for PWM calls if PWM type LED

§ clockHandle

ClockP_Handle LED_Object::clockHandle

Handle to clock used for blinking

§ clock

ClockP_Struct LED_Object::clock

Clock internal data

§ state

LED_State LED_Object::state

Current State of LED

§ rawState

LED_State LED_Object::rawState

rawState maintains actual state On or Off while blinking which is super state

§ ledType

LED_Type LED_Object::ledType

may be either GPIO or PWM controlled

§ brightness

uint8_t LED_Object::brightness

Varying min-max(0-100%) for PWM LED)

§ gpioIndex

uint_least8_t LED_Object::gpioIndex

Index into GPIO_PinConfig array

§ togglePeriod

uint16_t LED_Object::togglePeriod

Toggleperiod(ms), 0 for non-blinking LED This is half of blinkPeriod: two toggles is one blink

§ blinkCount

uint16_t LED_Object::blinkCount

Blinkcount, 0 for non-blinking LED


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