t_adc_param Struct Reference

Data Fields

unsigned int delay
bool conv_delay
bool single_channel
bool group
t_channel channel_0
t_channel channel_1
t_reading_mode read_mode
bool read_ts
bool wait_tsi
bool chrgraw_devide_5
unsigned int value [8]
t_touch_screen ts_value

Detailed Description

This structure is used to configure and report adc value.


Field Documentation

t_channel channel_0
t_channel channel_1

Sets CHRGRAW scaling to divide by 5 Only supported on 2.0 and higher

Referenced by mc13783_adc_convert(), and mc13783_adc_init_param().

bool conv_delay

sets the ATX bit for delay on all conversion

Referenced by mc13783_adc_convert(), and mc13783_adc_init_param().

unsigned int delay

Delay before first conversion

Referenced by mc13783_adc_convert(), and mc13783_adc_init_param().

bool group

Used to configure ADC mode with t_reading_mode

Referenced by mc13783_adc_convert(), mc13783_adc_init_param(), pmic_adc_convert(), pmic_adc_convert_8x(), and pmic_adc_convert_multichnnel().

bool read_ts

Return touch screen values

Referenced by mc13783_adc_convert(), mc13783_adc_init_param(), and mc13783_adc_read_ts().

unsigned int value
bool wait_tsi

Wait TSI event before touch screen reading

Referenced by mc13783_adc_convert(), mc13783_adc_init_param(), and mc13783_adc_read_ts().

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen