Holtek BS83B24C Manual page 105

Touch flash mcu
Table of Contents

Advertisement

BS83B24C/BS83C40C
Touch Flash MCU
• SIMD Register
Bit
7
Name
D�
R/W
R/W
POR
D7~D0: USIM SPI/I
Bit 7~0
SPI Control Registers
There are also two control registers for the SPI interface, SIMC0 and SIMC2. The SIMC0 register
is used to control the enable/disable function and to set the data transmission clock frequency. The
SIMC2 register is used for other control functions such as LSB/MSB selection, write collision flag
etc.
• 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.
Bit 4
UMD: UART mode selection bit
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
SIMDEB1~SIMDEB0: I
Bit 3~2
These bits are only available when the USIM is configured to operate in the I
Refer to the I
Rev. 1.00
6
5
D6
D5
R/W
R/W
x
x
x
C data register bit 7 ~ bit 0
2
6
5
SIM1
SIM0
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 register section.
2
105
4
3
2
D4
D3
D�
R/W
R/W
R/W
x
x
x
4
3
2
UMD
SIMDEB1 SIMDEB0
R/W
R/W
R/W
0
0
0
/4
SYS
/16
SYS
/64
SYS
SUB
C or SPI function, they are used
2
1
0
D1
D0
R/W
R/W
x
x
"x": Unknown
1
0
SIMEN
SIMIC�
R/W
R/W
0
0
C operating mode
2
C 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?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Bs83c40c

Table of Contents