Go to the documentation of this file.
20 #ifndef __SOLO6X10_TW28_H
21 #define __SOLO6X10_TW28_H
26 #define TW_BASE_ADDR 0x28
27 #define TW_CHIP_OFFSET_ADDR(n) (TW_BASE_ADDR + (n))
30 #define TW_AV_STAT_ADDR 0x5a
31 #define TW_HUE_ADDR(n) (0x07 | ((n) << 4))
32 #define TW_SATURATION_ADDR(n) (0x08 | ((n) << 4))
33 #define TW_CONTRAST_ADDR(n) (0x09 | ((n) << 4))
34 #define TW_BRIGHTNESS_ADDR(n) (0x0a | ((n) << 4))
35 #define TW_AUDIO_OUTPUT_VOL_ADDR 0x70
36 #define TW_AUDIO_INPUT_GAIN_ADDR(n) (0x60 + ((n > 1) ? 1 : 0))
39 #define TW286X_AV_STAT_ADDR 0xfd
40 #define TW286x_HUE_ADDR(n) (0x06 | ((n) << 4))
41 #define TW286x_SATURATIONU_ADDR(n) (0x04 | ((n) << 4))
42 #define TW286x_SATURATIONV_ADDR(n) (0x05 | ((n) << 4))
43 #define TW286x_CONTRAST_ADDR(n) (0x02 | ((n) << 4))
44 #define TW286x_BRIGHTNESS_ADDR(n) (0x01 | ((n) << 4))
45 #define TW286x_SHARPNESS(n) (0x03 | ((n) << 4))
46 #define TW286x_AUDIO_OUTPUT_VOL_ADDR 0xdf
47 #define TW286x_AUDIO_INPUT_GAIN_ADDR(n) (0xD0 + ((n > 1) ? 1 : 0))
59 unsigned int tw2815_get_audio_status(
struct SOLO *solo);
60 void tw2815_Set_AudioOutVol(
struct SOLO *solo,
unsigned int u_val);