数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

TSL2580FN 数据表(PDF) 32 Page - OSRAM GmbH

部件名 TSL2580FN
功能描述  Light-to-Digital Converter
PDF  53 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  OSRAM [OSRAM GmbH]
网页  http://www.osram.com
标志 OSRAM - OSRAM GmbH

TSL2580FN 数据表(HTML) 32 Page - OSRAM GmbH

Back Button TSL2580FN Datasheet HTML 28Page - OSRAM GmbH TSL2580FN Datasheet HTML 29Page - OSRAM GmbH TSL2580FN Datasheet HTML 30Page - OSRAM GmbH TSL2580FN Datasheet HTML 31Page - OSRAM GmbH TSL2580FN Datasheet HTML 32Page - OSRAM GmbH TSL2580FN Datasheet HTML 33Page - OSRAM GmbH TSL2580FN Datasheet HTML 34Page - OSRAM GmbH TSL2580FN Datasheet HTML 35Page - OSRAM GmbH TSL2580FN Datasheet HTML 36Page - OSRAM GmbH Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 53 page
background image
ams Datasheet
Page 31
[v1-00] 2016-Apr-05
Document Feedback
TSL2580, TSL2581 − Application Information: Software
The following pseudo code illustrates a procedure for reading
the TSL258x device (ALS) using word transactions:
Command = 0x80
//Set Command bit and Control Reg
Power_On = 0x01
//Power on device
WriteByte (Address, Command, Power_On)
Command = 0x81
//Set Command bit and ALS Timing Reg
ITIME = 0xb6
//200 ms integration cycle
//Configure ALS Timing Register for 200 ms integration cycle
WriteByte (Address, Command, ITIME)
Command = 0x80
//Set Command bit and Control Reg
ADC_En = 0x03
//Enable ADC Channels
//Keep device powered on and enable ADC prior to reading channel data
WriteByte (Address, Command, ADC_En | Power_On)
// Read ADC Channels Using Read Word Protocol - RECOMMENDED
//Address the Ch0 lower data register and configure for Read Word
Command = 0Xb4
//Set Command bit and Word bit
//Reads two bytes from sequential registers 0x14 and 0x15
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel0 = 256 * DataHigh + DataLow
//Address the Ch1 lower data register and configure for Read Word
Command = 0xb6
//Set Command bit and Word bit
//Reads two bytes from sequential registers 0x16 and 0x17
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel1 = 256 * DataHigh + DataLow
//Shift DataHigh to upper byte



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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