BS85B12-3 HOLTEK [Holtek Semiconductor Inc], BS85B12-3 Datasheet - Page 119
BS85B12-3
Manufacturer Part Number
BS85B12-3
Description
Touch Key Flash Type 8-Bit MCU with LCD/LED Driver
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
1.BS85B12-3.pdf
(182 pages)
- Current page: 119 of 182
- Download datasheet (3Mb)
BS85B12-3/BS85C20-3
Touch Key Flash MCU with LCD/LED Driver
Rev. 1.00
Bit 7~5
Bit 4
Bit 3~2
Bit 1
Bit 0
Name
POR
R/W
Bit
SIMC0 Register
SIM2
R/W
There are also two control registers for the SPI interface, SIMC0 and SIMC2. Note that the SIMC2
register also has the name SIMA which is used by the I
by the SPI function, only by the I
function and to set the data transmission clock frequency. Although not connected with the SPI
function, the SIMC0 register is also used to control the Peripheral Clock Prescaler. Register SIMC2
is used for other control functions such as LSB/MSB selection, write collision flag etc.
SIM2, SIM1, SIM0: SIM Operating Mode Control
These bits setup the overall operating mode of the SIM function. As well as selecting if the I
or SPI function, they are used to control the SPI Master/Slave selection and the SPI Master clock
frequency. The SPI clock is a function of the system clock but can also be chosen to be sourced
from the TM0. If the SPI Slave Mode is selected then the clock will be supplied by an external
Master device.
PCKEN: PCK Output Pin Control
PCKP1, PCKP0: Select PCK output pin frequency
SIMEN: SIM Control
The bit is the overall on/off control for the SIM interface. When the SIMEN bit is cleared, the SDI,
SDO, SCK and SCS, or SDA and SCL lines will be as I/O function and the SIM operating
current will be reduced to a minimum value. When the bit is high the SIM interface is enabled.
If the SIM is configured to operate as an SPI interface via the SIM2~SIM0 bits, the contents of the
SPI control registers will remain at the previous settings when the SIMEN bit changes from low
to high and should therefore be first initialised by the application program. If the SIM is configured
to operate as an I
high, the contents of the I
settings and should therefore be first initialised by the application program while the relevant I
flags such as HCF, HAAS, HBB, SRW and RXAK will be set to their default states.
unimplemented, read as 0
7
1
000: SPI master mode; SPI clock is f
001: SPI master mode; SPI clock is f
010: SPI master mode; SPI clock is f
011: SPI master mode; SPI clock is f
100: Unused
101: SPI slave mode
110: I
111: Unused
0: Disable
1: Enable
00: f
01: f
10: f
11: TM0 CCRP match frequency/2
0: disable
1: enable
SYS
SYS
SYS
2
C slave mode
/4
/8
SIM1
R/W
6
1
2
C interface via the SIM2~SIM0 bits and the SIMEN bit changes from low to
SIM0
R/W
2
C control bits such as HTX and TXAK will remain at the previous
5
1
2
C function. Register SIMC0 is used to control the enable/disable
PCKEN
R/W
113
LIRC
SYS
SYS
SYS
4
0
/4
/16
/64
PCKP1
R/W
3
0
2
C function. The SIMC1 register is not used
PCKP0
R/W
2
0
SIMEN
R/W
1
0
February 1, 2011
0
2
C
2
C
Related parts for BS85B12-3
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Voltage Regulator
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
0.5A General Purpose LDO
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Touch Key
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Super I/O Controller
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Infrared Remote Encoder
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Multi-Purpose Encoders
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
CMOS 32Kx8 Low Power SRAM
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
LOTTO FLASH DRIVER
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Q-Voice
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Flash Type Voice OTP MCU
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Voltage Regulator
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
0.5A General Purpose LDO
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
Touch Key
Manufacturer:
HOLTEK [Holtek Semiconductor Inc]
Datasheet:
Part Number:
Description:
RAM Mapping 64 x16 LCD Controller for I/O C
Manufacturer:
Holtek Semiconductor Inc
Datasheet:
Part Number:
Description:
1/4 to 1/11 Duty VFD Controller
Manufacturer:
Holtek Semiconductor Inc
Datasheet: