Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN4460 Datasheet(PDF) 31 Page - STMicroelectronics

Part # AN4460
Description  The STEVAL-ILL057V1 demonstration board is a complete
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4460 Datasheet(HTML) 31 Page - STMicroelectronics

Back Button AN4460 Datasheet HTML 27Page - STMicroelectronics AN4460 Datasheet HTML 28Page - STMicroelectronics AN4460 Datasheet HTML 29Page - STMicroelectronics AN4460 Datasheet HTML 30Page - STMicroelectronics AN4460 Datasheet HTML 31Page - STMicroelectronics AN4460 Datasheet HTML 32Page - STMicroelectronics AN4460 Datasheet HTML 33Page - STMicroelectronics AN4460 Datasheet HTML 34Page - STMicroelectronics AN4460 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 54 page
background image
DocID026129 Rev 1
31/54
AN4460
User interface
54
7.4.2
ll - change LED dimming level
To change the LED dimming level, use the “ll” command. The value is stored into the
E2PROM data area for its read back and applies to next power-on.
Syntax: ll [ch] [level]
Parameters:
ch [0-3]: the LED string channel value.
level: [0-256]: indicates the dimming level in a scale from 0 (OFF) to 256 (always ON),
a value between 1 (0.4%) and 255 (99.6%) indicates the dimming level. A value of 256
turns the LED chain on at full brightness (100%). When the global dimming level is
different from 100% (via “ed” and “di” command), the equivalent current on example is
equal to ('level / 256) * (global dimming level).
Output: none
Example: “ll 3 200": sets up channel 3 to use a current equal to 200/256 of the maximum
current defined by the “lc” command.
7.4.3
ln - configure LED number
Used to setup, before connecting any LED, the number of LEDs used in a specified chain.
The value is stored into the E2PROM data area for its read back and applies to next power-
on.
Syntax: ln [ch] [num]
Parameters:
ch [0-3]: the channel number.
num [3-10] the number of LEDs. The minimum LED number is 3; the maximum LED
number is 10.
Output: none
Example: “ln 1 6": sets up six LEDs on the channel 1.
7.4.4
ad - read ADC channel
Reads the ADC channel [ch] and displays the result in decimal value.
Syntax: ad [ch]
Parameters:
ch [0-7]: ADC channel number. For the ADC channel association, see the board
schematics.
Output:
The output value is the decimal conversion read from the ADC channel. The value read
from the LED channel (VCOMx point) depends on the dimming level. The correct input
voltage at the STLUX385A pin is given by the ADC value multiplied by 0,001221896
{= (1.25/[(210)-1]}. For channels 0, 1, 2, 3, 4, 6, the ADC value has to be multiplied for
0.05437489.
Example: “ad 0": reads the power line voltage.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com