Access to information is restricted depending on your login. Request login-information through our contact form.



The function ADC_Read gets the measured analog voltage value from the UCB1400-codec for a given ADC-Channel.

unsigned short ADC_Read(      
  unsigned short ADChannel
unsigned short UcbReadADC(      
  unsigned short ADChannel


one of 4 ADChannel ( 0..3)

Return Values

If the function succeeds, the returned value is the wanted analog voltage.

If the function fails, the return value is -1.


This function uses the AC97-Link functions. So you have to use AC97_Alloc before calling this function. Unlike the ADC_Sample - function this function cares about multiple-exclusive access to the AC97-Link itself. Note that you have to unlock the acces to the AC97-Link if you have gained access to it previously with a call to AC97_Lock.


OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h.
Link Library: drvlib_app.lib.

See Also

Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
service/wince/drvlib/adc_read.txt · Zuletzt geändert: 2008/05/27 09:52 von