tmp88cs38ng TOSHIBA Semiconductor CORPORATION, tmp88cs38ng Datasheet - Page 90

no-image

tmp88cs38ng

Manufacturer Part Number
tmp88cs38ng
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
Serial Bus Interface Control Register B
Serial Bus Interface Status Register A
Serial Bus Interface Status Register B
SBICRB
(00023H)
SBISRA
(00020H)
SBISRB
(00023H)
Note 1: Switch a mode to port after confirming that the bus is free.
Note 2: Switch a mode to I
Note 3: SBICRB has write-only register and must not be used with any of read-modify-write instructions such as bit
Note 4: When the SWRST (Bit1, 0 in SBICRB) is written to “01”, “10”, software reset (Four machine cycles) is
*: Don’t care
SWRST1
SWRST0
SWRMON Software reset monitor
MST
MST
SBIM
MST
TRX
PIN
MST
TRX
AAS
AD0
LRB
Figure 2.9.6 Serial Bus Interface Control Register B and Serial Bus Interface
7
7
7
BB
PIN
BB
AL
level.
manipulation, etc.
occurred.
This time, control the serial bus interface and monitor the operation status registers except the SBIM (Bit3,
2 in SBICRB) and the CHS (Bit6 in PMPXCR) are reseted.
Control the serial bus interface and monitor the operation status registers are SBICRA, SBICRB, SBIDBR,
I2CAR, SBISRA, SBISRB, SCCRA and SCSR.
TRX
TRX
Transmitter/receiver selection
Start/stop generation
Cancel interrupt service request
Serial bus interface operating
mode selection
Software reset start bit
Master/slave selection
Master/slave selection status
monitor
Transmitter/receiver selection
status monitor
Bus status monitor
Interrupt service requests
status monitor
Arbitration lost detection
monitor
Slave address match detection
monitor
“GENERAL CALL” detection
monitor
Last Received bit monitor
6
6
6
BB
BB
5
5
5
Status Register A/B in the I
2
C bus mode or clock synchronous 8-bit SIO mode after confirming that the port is high
ACK
PIN
PIN
4
4
4
AL
3
3
3
88CS38-90
SBIM
00: Port mode (Serial bus interface output disable)
01: Clocked synchronous 8-bit SIO mode
10: I
11: Reserved
Software reset starts by first writing “10” and next writing “01”.
0: Slave
1: Master
0: Receiver
1: Transmitter
0: Generate a stop condition when MST, TRX and PIN are “1”.
1: Generate a start condition when MST, TRX and PIN are “1”.
0:
1: Cancel interrupt service request
0: During software reset
1: − (Initial)
0: Slave
1: Master
0: Receiver
1: Transmitter
0: Bus free
1: Bus busy
0: Requesting interrupt service
1: Releasing interrupt service request
0: −
1: Arbitration lost detected
0: Not detect slave address match or “GENERAL CALL”
1: Detect slave address match or “GENERAL CALL”
0: Not detect “GENERAL CALL”
1: Detect “GENERAL CALL”
0: Last receive bit is “0”
1: Last receive bit is “1”
2
AAS
C bus mode
2
2
2
SWRST1SWRST0
AD0
2
C Bus Mode
1
1
1
SWR
MON
LRB
0
0
0
TMP88CS38/CM38A/CP38A
(Initial value: 0001 0000)
(Initial value: 0001 0000)
(Initial value: **** ***1)
2007-09-12
Read
Read
only
Write
only
only

Related parts for tmp88cs38ng