Preliminary
...the world's most energy friendly microcontrollers
2010-04-09 - t0005_1.10
20
www.energymicro.com
Bit
Name
Reset
Access
Description
15:2
Reserved
To ensure compatibility with future devices, always write bits to 0.
1:0
BUS_CFG
0x0
RW
BUS configuration register
Set this register to configure which bus has access to the SRAM, Nor Flash and TFT display.
Value
Mode
Description
0
FSMC
The FSMC has access
1
EBI
The EBI interface has access
2
SPI
The SPI interface has access
10.2.12 BC_PERCTRL - Peripheral control register
Offset
Bit Position
0x018
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Access
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Name
IRDA_SHUTDOWN
RS232_SHUTDOWN
ACCEL_SELFTEST
ACCEL_GSEL
AUDIO_IN
AUDIO_OUT
ANALOG_DIFF
ANALOG_SE
IRDA
I2C
SPI
RS232B
RS232A
POTMETER
AMBIENT
ACCEL
Bit
Name
Reset
Access
Description
15
IRDA_SHUTDOWN
0
RW
Shut down IrDA transceiver
Set this bit to shut down the IrDA transceiver
14
RS232_SHUTDOWN
0
RW
Shut down RS232 driver
Set this bit to shut down the RS232 driver. It is strongly recommended that this is done when the application does not use RS232.
13
ACCEL_SELFTEST
0
RW
Accelerometer selftest mode
Set this bit to put the accelerometer into selftest mode
12
ACCEL_GSEL
0
RW
Accelerometer g-select
Use this bit to configure the g-range of the accelerometer
Value
Mode
Description
0
LOW
The g-range is up to 1.5g
1
HIGH
The g-range is up to 6g
11
AUDIO_IN
0
RW
Audio in connect
Set this bit to connect the audio in amplifier to the EFM
10
AUDIO_OUT
0
RW
Audio out connect
Set this bit to connect the audio out amplifier to the EFM
9
ANALOG_DIFF
0
RW
Analog differential input connect
Set this bit to connect the analog differential inputs to the EFM
8
ANALOG_SE
0
RW
Analog single ended input connect
Set this bit to connect the analog single ended inputs to the EFM
7
IRDA
0
RW
IrDA connect
Set this bit to connect the IrDA transceiver to the EFM
6
I2C
0
RW
I
2
C bus connect
Set this bit to connect the I
2
C devices to the EFM
5
SPI
0
RW
SPI bus connect
electronic components distributor