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

Channel selection 1

t_channel channel_1

Channel selection 2

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

bool conv_delay

sets the ATX bit for delay on all conversion

unsigned int delay

Delay before first conversion

bool group

Selects the set of inputs

Used to configure ADC mode with t_reading_mode

bool read_ts

Sets the Touch screen mode

Sets the single channel mode

Return touch screen values

unsigned int value[8]

Return ADC values

bool wait_tsi

Wait TSI event before touch screen reading

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