11.07.2015 Views

TSC2101-Audio Codec w/ Integrated Headphone Speaker Amp ...

TSC2101-Audio Codec w/ Integrated Headphone Speaker Amp ...

TSC2101-Audio Codec w/ Integrated Headphone Speaker Amp ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SLAS392C− JUNE 2003 − REVISED SEPTEMBER 2004www.ti.comX, Y, Z1, Z2, BAT, AUX1, AUX2, TEMP1 and TEMP2 RegistersBit 15MSBThe results of all ADC conversions are placed in the appropriate data register. The data format of the resultword, R, of these registers is right-justified, as follows:Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0LSB0 0 0 0 R11MSBR10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0LSBPAGE 1 CONTROL REGISTER MAPREGISTER 00H: Touch-Screen ADC Control48BITNAMERESETVALUEREAD/WRITEFUNCTIOND15 PSTCM 0 R/W Pen Status/Control Mode.READ0 => There is no screen touch (default).1 => The pen is downWRITE0 => Host controlled touch screen conversions (default).1 => The <strong>TSC2101</strong> controlled touch screen conversions.D14 ADST 1(for read)0 (for write)R/WADC STATUS.READ0 =>ADC is busy1 => ADC is not busy (default).WRITE0 => Normal mode (default).1 => Stop conversion and power down.D13−D10 ADCSM 0000 R/W ADC Scan Mode.0000 => No scan0001 => Touch screen scan function: X and Y coordinates are converted and the results returnedto X and Y data registers. Scan continues until either the pen is lifted or a stop bit issent.0010 => Touch screen scan function: X, Y, Z1 and Z2 coordinates are converted and the resultsreturned to X, Y, Z1 and Z2 data registers. Scan continues until either the pen is liftedor a stop bit is sent.0011 => Touch screen scan function: X coordinate is converted and the results returned to X dataregister.0100 => Touch screen scan function: Y coordinate is converted and the results returned to Y dataregister.0101 => Touch screen scan function: Z1 and Z2 coordinates are converted and the resultsreturned to Z1 and Z2 data registers0110 => BAT input is converted and the results returned to the BAT data register.0111 => AUX2 input is converted and the results returned to the AUX2 data register1000 => AUX1 input is converted and the results returned to the AUX1 data register.1001 => Auto Scan function: For AUX1, AUX2, TEMP1 or TEMP2 as chosen using controlregister 0CH/page 1. Scan continues until stop bit is sent or D13−D10 are changed.1010 => TEMP1 input is converted and the results returned to the TEMP1 data register.1011 => Port scan function: BAT, AUX1, AUX2 inputs are measured and the results returned tothe appropriate data registers.1100 => TEMP2 input is converted and the results returned to the TEMP2 data register.1101 => Turn on X+, X− drivers1110 => Turn on Y+, Y− drivers1111 => Turn on Y+, X− driversD9−D8 RESOL 00 R/W Resolution Control. The ADC resolution is specified with these bits.00 => 12-bit resolution01 => 8-bit resolution10 => 10-bit resolution11 => 12-bit resolution

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!