| поискавой системы для электроныых деталей |
|
SC667 датащи(PDF) 41 Page - Semtech Corporation |
|
|
|||||||||||||||||||||||||||||
SC667 датащи(HTML) 41 Page - Semtech Corporation |
|
41 / 47 page ![]() SC667 41 Register Map (continued) ADC Function Register (12h) This register is used to enable the functions of the ADC and store related status bits. The ADC converts the analog output voltage signal of an ALS (Ambient Light Sense) circuit and stores the digital conversion in the ADC output AD OUT (register 13h). The data may be used to automati- cally adjust the brightness of bank #1 backlights in response to changes in ambient lighting conditions. AD_CMP [D7] This bit indicates the comparison of AD OUT (register 13h) to both AD RISE (register 14h) and ADFALL(register 15h). When AD OUT exceeds ADRISE, AD_CMP = 1. When ADOUT falls below AD FALL , AD_CMP = 0. AD_INT [D6] This bit is set when the AD_CMP bit [D7] changes state. If the AD_SATEN [D5] bit is set, AD_INT bit [D6] may also be used to indicate an overflow or underflow in AD OUT (register 13h). This bit is cleared when ADC function register (12h) is read, or when writing INT_CLR bit [D2] equal to one. AD_SATEN [D5] This bit, when set, allows an underflow or overflow to gen- erate an interrupt which sets the AD_INT bit [D6]. When AD_SATEN = 1, an overflow or underflow condition in reg- ister 13h will set the AD_INT bit. AD_OF [D4] This bit indicates an overflow condition in register 13h. This bit is set to one whenever AD OUT > F8h. AD_UF [D3] This bit indicates an underflow condition in register 13h. This bit is set to one whenever AD OUT < 08h. INT_CLR [D2] Writing a one to this bit automatically resets bit AD_INT to zero. INT_CLR resets itself and will always read as zero. AD_AUTO [D1] When the AD_AUTO bit is high, the contents of the AD OUT, AD RISE, and ADFALL registers are compared and used to control the brightness of the bank #1 backlights. AD OUT is compared with two threshold values contained in registers AD RISE and AD FALL. If ADOUT becomes greater than ADRISE, bank #1 will change to the bank #1 target backlight setting of register 06h. If AD OUT becomes less than ADFALL, bank #1 will change to the bank #1 backlight setting of register 02h. When the AD_AUTO bit is low, the comparison of AD OUT to AD RISE and ADFALL is disabled so that bank #1 does not react to changes in the value of AD OUT, ADRISE, or ADFALL. AD_EN [D0] When the AD_EN bit is high, the ADC is activated and the results of each conversion are stored in AD OUT (register 13h). The functions of the AD_AUTO and AD_EN bits are shown in Table 22. Table 22 — ALS Function Enable Bits AD_AUTO AD_EN Comments 0 0 ADC is disabled. Bank #1 will not change brightness with ambient conditions. 0 1 ADC is enabled. ADC output is stored in the AD OUT register. Bank #1 does not re- spond to the AD OUT value. 1 0 ADC is disabled. Bank #1 current is set to the start or target current. AD OUT is compared to AD RISE and ADFALL registers. A new value may be written to AD OUT via the I2C interface. 1 1 ADC is enabled. Bank #1 current is set to the start or target current. AD OUT is com- pared to AD RISE and ADFALL registers. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |