Realtek RTD2120-series
confidential
27
SLV_I
0
R/W
0
If IIC_SLAVE latched, this bit is set to
“
1
”
Write 0 to clear.
Register::IIC_IRQ_control
0xFF2C
Name
Bits
Read/Write
Reset State
Comments
AWI_EN
7
R/W
0
0: Disable the A_WR_I signal as an
interrupt source
1: Enable the A_WR_I signal as an interrupt
source
DWI_EN
6
R/W
0
0: Disable the D_WR_I signal as an interrupt
source
1: Enable the D_WR_I signal as an interrupt
source
128VSI_EN
5
R/W
0
0: Disable the 128VS_I signal as an interrupt
source
1: Enable the 128VS_I signal as an interrupt
source
STOPI_EN
4
R/W
0
0: Disable the STOP_I signal as an interrupt
source
1: Enable the STOP_I signal as an interrupt
source
DOI_EN
3
R/W
0
0: Disable the D_OUT_I signal as an
interrupt source
1: Enable the D_OUT_I signal as an
interrupt source
DII_EN
2
R/W
0
0: Disable the D_IN_I signal as an interrupt
source
1: Enable the D_IN_I signal as an interrupt
source
SUBI_EN
1
R/W
0
0: Disable the
SUB_I signal as an interrupt
source
1: Enable the SUB_I signal as an interrupt
source
SLVI_EN
0
R/W
0
0: Disable the SLV_I signal as an interrupt
source
1: Enable the SLV_I signal as an interrupt
source
PWM
RTD2120 supports 3 channels of PWM DAC. The resolution of each PWM is 8-bit. PWM0,
PWM1and PWM2 are connected to DA0, DA1and DA2 respectively. Meanwhile, they can also be
connected to DA3, DA4 and DA5 which are programed via PWM_source_select register. The figure
below represent the PWM clock generator. Based on the clock, we make up the PWM waveform
which frequency is 1/256 of the PWM clock.