92
11.1
EMI Control Registers
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
10 = 3 system clock cycles
Figure 2015- = 4 system clock cycles
EMIST
: EMI setup time
00 = 1 system clock cycle
01 = 2 system clock cycles
10 = 3 system clock cycles
Figure 2015- = 4 system clock cycles
Register 11-2 EMICON1
– EMI control1
Position
7
6
5
4
3
2
1
0
Name
EMIPND
CLKSEL
OUTSEL
PWMEN
EMIDMAB
EMIDMAM EMIM
Default
1
0
0
0
0
0
0
0
Access
RO
R/W
R/W
R/W
R/W
R/W
R/W
R/W
EMIPND
: When Read EMI done flag
0 = EMI is transmitting data
1 = EMI is IDLE
When Write
“0”, clear write buffer counter; write “1” affect another
CLKSEL
: PWM module work clock select
0 = 24MHz
1 = 48MHz
OUTSEL
: PWM output select
0 = LED anode display
1 = LED cathode display
PWMEN
: PWM enable
0 = Disable
1 = Enable
EMIDMAB
: EMI DMA converts byte select
00 = reserved
01 = 1 byte
10 = 2 byte
Figure 2015- = 3 byte
EMIDMAM
: EMI DMA mode
0 = no convert
1 = bit convert to byte
EMIM
: EMI mode
0 = work when CPU kick start
1 = work with SPI1 DMA
Register 11-3 EMIBUF
– EMI output buffer
Position
7
6
5
4
3
2
1
0
Name
EMIBUF
Default
x
x
x
x
x
x
x
x
Access
WO
WO
WO
WO
WO
WO
WO
WO