APDS-9801 Avago Technologies US Inc., APDS-9801 Datasheet - Page 18

INTEGRATED DIGITAL PS AND ALS

APDS-9801

Manufacturer Part Number
APDS-9801
Description
INTEGRATED DIGITAL PS AND ALS
Manufacturer
Avago Technologies US Inc.
Type
Analog Ambient Light Sensor and Digital Proximity Sensorr
Datasheet

Specifications of APDS-9801

Peak Wavelength
940 nm
Maximum Light Current
83 uA
Maximum Dark Current
300 nA
Maximum Rise Time
1000 ns
Maximum Fall Time
300 ns
Mounting Style
SMD/SMT
Product
Integrated Ambient Light and Proximity Sensor
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
APDS-9801
Manufacturer:
LEGERITY
Quantity:
1 043
Part Number:
APDS-9801
Manufacturer:
Avago Technologies
Quantity:
1 781
Part Number:
APDS-9801-021
Manufacturer:
AVAGO
Quantity:
20 000
/***********************************************************************
DESC: Read back interrupt threshold value
RETURNS: Threshold Register value
***********************************************************************/
void PXS_ThresHoldRead(void)
{
}
/***********************************************************************
DESC: Set the interrupt enable
RETURNS: Nothing
***********************************************************************/
void PXS_IntpEna(unsigned char value)
{
}
/***********************************************************************
DESC: Read back Interrupt Register Status
RETURNS: Interrupt status
***********************************************************************/
void PXS_IntpStatusRead(void)
{
}
/***********************************************************************
DESC: Clear the pending thresholds & EOC interrupt
RETURNS: Nothing
***********************************************************************/
void PXS_IntpClr(void)
{
}
18
unsigned char command;
//Read back Interrupt Threshold Low Byte data
command = CMD|ADDR_THRESLOW;
ReadByte_i2c(DeviceAddr, command, &ReadThresholdLow);
//Read back Interrupt Threshold High Byte data
command = CMD|(ADDR_THRESHIGH);
ReadByte_i2c(DeviceAddr, command, &ReadThresholdHigh);
unsigned char command;
command = CMD|ADDR_INTP;
WriteByte_i2c(DeviceAddr, command, value);
unsigned char command;
command = CMD|ADDR_INTP;
ReadByte_i2c(DeviceAddr, command, &IntSta);
unsigned char command;
//Set the Clear bits of the pending threshold interrupt and EOC interrupt
command = 0x60;
Write_i2c(DeviceAddr, command);

Related parts for APDS-9801