Unused Bits 31 : 10
REF_EXT_SEL Bit 9 R/W 0x1
0: disable
1: enable
(A_SEL_DETREF_LDO) REF_INT_SEL Bit 8 R/W 0x0
0: disable
1: enable
(A_SEL_DETREF_RES) Unused Bits 7 : 6
REF2_SEL Bits 5 : 4 R/W 0x3
00: 0.25V
01: 0.30V
10: 0.35V
11: 0.40V
(a_refslct2<1:0>) REF1_SEL Bits 3 : 0 R/W 0xA
0000: 0.50V
0001: 0.55V
0010: 0.60V
0011: 0.65V
0100: 0.70V
0101: 0.75V
0110: 0.80V
0111: 0.85V
1000: 0.90V
1001: 0.95V
1010: 1.00V
1011: 1.05V
1100: 1.10V
1101: 1.15V
1110: 1.20V
1111: 1.25V
(a_refslct1<3:0>)
The reference voltage is used for hot plug detect function. Команда U-Boot для чтения регистра md 652002c 1 md 652402c 1
Bit fields structure
typedef union tve_dac_cfg1
{
struct
{
unsigned ref1_sel : 4;
unsigned ref2_sel : 2;
unsigned unused0 : 2;
unsigned ref_int_sel : 1;
unsigned ref_ext_sel : 1;
unsigned unused1 : 22;
} b;
unsigned long w;
} TVE_DAC_CFG1
|