diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2011-06-28 13:40:27 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2011-06-28 13:40:27 (GMT) |
commit | fecdd9457cd3912c2b89aff1f99db0ba669af93b (patch) | |
tree | 34bbc7387ded825e303c3117b6c6da2cbe1fd771 /api/driver_tua8010_NeededFunctions.h | |
download | AF903x_SRC-fecdd9457cd3912c2b89aff1f99db0ba669af93b.zip AF903x_SRC-fecdd9457cd3912c2b89aff1f99db0ba669af93b.tar.gz AF903x_SRC-fecdd9457cd3912c2b89aff1f99db0ba669af93b.tar.bz2 |
Initial checkin' of sourceball extracted from installer.
DRIVER_RELEASE_VERSION : v9.08.14.1
FW_RELEASE_VERSION : v8_8_63_0
API_RELEASE_VERSION : 200.20090402.0
Not sure what those version numbers relate to.
Might be Driver, the actual driver (src)
FW, the little bin file that is only a keymapping for the remote
API, all the tuners or so from /api?
No support for Asus U3100
mini (yet).
Diffstat (limited to 'api/driver_tua8010_NeededFunctions.h')
-rw-r--r-- | api/driver_tua8010_NeededFunctions.h | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/api/driver_tua8010_NeededFunctions.h b/api/driver_tua8010_NeededFunctions.h new file mode 100644 index 0000000..5b13df0 --- /dev/null +++ b/api/driver_tua8010_NeededFunctions.h @@ -0,0 +1,98 @@ +/* ============================================================================ +** Copyright (C) 1997-2008 Infineon AP All rights reserved. +** ============================================================================ +** +** ============================================================================ +** Revision Information : +** File name: driver_tua8010_NeededFunctions.h +** Version: v0.1 +** Date: 2008.08.17 +** +** ============================================================================ +** History: +** +** Date Author Comment +** ---------------------------------------------------------------------------- +** 2007.11.06 Walter Pichler created. +** 2008.08.15 Xie Yonggang adaption to TUA8010 +** +** ============================================================================ +*/ + +/*======================================================================================================================== + additional needed external funtions ( have to be provided by the user! ) +========================================================================================================================*/ + +/** + * set / reset tuner reset input + * @param IN i_state level + * @retval TUNER_OK No error + * @retval TUNER_ERROR Error +*/ + +int setRESETN8010 (unsigned int i_state); + + + +/** + * set / reset tuner receive enable input + * @param IN i_state level + * @retval TUNER_OK No error + * @retval TUNER_ERROR Error +*/ + +int setRXEN8010 (unsigned int i_state); + + +/** + * set / reset tuner chiop enable input + * @param IN i_state level + * @retval TUNER_OK No error + * @retval TUNER_ERROR Error +*/ + +int setCEN8010 (unsigned int i_state); + + + +/** + * waitloop + * @param IN i_looptime * 1uS + * @retval TUNER_OK No error + * @retval TUNER_ERROR Error +*/ + +int waitloop8010 (unsigned int i_looptime); + + + +/** + * i2cBusWrite + * @param IN deviceAdress chip address + * @param IN registerAdress register address + * @param IN *data pointer to data source + * @param IN length number of bytes to transmit + * @retval TUNER_OK No error + * @retval TUNER_ERROR Error +*/ + + int i2cBusWrite8010 (unsigned char deviceAddress, unsigned char registerAddress, char *data, unsigned int length); + + + +/** + * i2cBusRead + * @param IN deviceAdress chip address + * @param IN registerAdress register address + * @param OUT *data pointer to data destination + * @param IN length number of bytes to read + * @retval TUNER_OK No error + * @retval TUNER_ERROR Error +*/ + + int i2cBusRead8010 (unsigned char deviceAddress, unsigned char registerAddress, char *data, unsigned int length); + + +/*======================================================================================================================== + end of additional needed external funtions +========================================================================================================================*/ |