Holtek BS83B24C Manual page 114

Touch flash mcu
Table of Contents

Advertisement

• SIMA Register
Bit
7
Name
SIMA6
R/W
R/W
POR
0
Bit 7~1
SIMA6~SIMA0: I
SIMA6~SIMA0 is the I
Bit 0
D0: Reserved bit, can be read or written
I
C Control Registers
2
There are three control registers for the I
register is used to control the enable/disable function and to set the data transmission clock
frequency. The SIMC1 register contains the relevant flags which are used to indicate the I
communication status. Another register, SIMTOC, is used to control the I
described in the corresponding section.
• SIMC0 Register
Bit
7
Name
SIM�
R/W
R/W
POR
1
Bit 7~5
SIM2~SIM0: USIM SPI/I
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: SPI master mode; SPI clock is PTM CCRP match frequency/2
101: SPI slave mode
110: I
111: Unused mode
When the UMD bit is cleared to zero, these bits setup the SPI or I
of the USIM function. As well as selecting if the I
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
PTM and f
external Master device.
UMD: UART mode selection bit
Bit 4
0: SPI or I
1: UART mode
This bit is used to select the UART mode. When this bit is cleared to zero, the actual
SPI or I
must be set low for SPI or I
Bit 3~2
SIMDEB1~SIMDEB0: I
00: No debounce
01: 2 system clock debounce
1x: 4 system clock debounce
These bits are used to select the I
the I
"110".
Rev. 1.00
6
5
SIMA5
SIMA4
SIMA3
R/W
R/W
R/W
0
0
C slave address
2
C slave address bit 6~bit 0.
2
C interface, SIMC0, SIMC1 and SIMTOC. The SIMC0
2
6
5
SIM1
SIM0
UMD
R/W
R/W
R/W
1
1
C Operating Mode Control
2
C slave mode
2
. If the SPI Slave Mode is selected then the clock will be supplied by an
SUB
C mode
2
C mode can be selected using the SIM2~SIM0 bits. Note that the UMD bit
2
C mode.
2
C Debounce Time Selection
2
C debounce time when the USIM is configured as
2
C interface function by setting the UMD bit to "0" and the SIM2~SIM0 bits to
2
114
BS83B24C/BS83C40C
Touch Flash MCU
4
3
2
SIMA�
SIMA1
R/W
R/W
0
0
0
C time-out function and is
2
4
3
2
SIMDEB1 SIMDEB0
SIMEN
R/W
R/W
0
0
0
/4
SYS
/16
SYS
/64
SYS
SUB
C or SPI function, they are used
2
1
0
SIMA0
D0
R/W
R/W
0
0
C
2
1
0
SIMIC�
R/W
R/W
0
0
C operating mode
2
�e���a�� 0�� �01�

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BS83B24C and is the answer not in the manual?

This manual is also suitable for:

Bs83c40c

Table of Contents