Data Fields
LED_Params Struct Reference

LED Parameters. More...

#include <LED.h>

Data Fields

uint32_t pwmPeriod
 
uint16_t blinkPeriod
 
uint8_t brightness
 
LED_State setState
 

Detailed Description

LED Parameters.

LED parameters are used with the LED_open() call. Default values for these parameters are set using LED_Params_init(). It contains brightness field which will be used to control brightness of a LED and also blink period if user wants to set LED in blinking mode.

See also
LED_Params_init()

Field Documentation

§ pwmPeriod

uint32_t LED_Params::pwmPeriod

pwmPeriod(us) of controlling PWM

§ blinkPeriod

uint16_t LED_Params::blinkPeriod

param to set blink period (in ms)

§ brightness

uint8_t LED_Params::brightness

may vary from 0-100% for PWM LED

§ setState

LED_State LED_Params::setState

request to set a LED state(eg blinking)


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