Control Registers Description - NEC V850E/RS1 User Manual

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

13.4 Control Registers Description

(1)
CSIBn control register 0 (CBnCTL0)
This register controls the serial transfer operation of CSIB.
This register can be read or written in 8-bit or 1-bit units.
Reset input sets this register to 01H.
Symbol
CBnCTL0 CBnPWR CBnTXE
Remark:
CBnPWR
0
1
The CBnPWR bit controls the operating clock of CSIB and resets the internal circuit.
CBnTXE
0
1
When the CBnTXE bit is cleared to 0, the serial output pin SOBn is fixed to the low level and communication is
stopped.
CBnRXE
0
1
When the CBnRXE bit is cleared to 0, because reception is stopped, the reception complete interrupt is not out-
put and the receive data in the CBnRX register is not updated even if the specified data is transferred.
CBnDIR
0
1
Note: This register can be rewritten only when the CBnPWR bit = 0. However, the CBnPWR bit can
434
Downloaded from
Elcodis.com
electronic components distributor
Chapter 13 3-Wire Serial Interface (CSIB)
Figure 13-2: CSIBn Control Register 0 (CBnCTL0) Format (1/2)
Address: CB0CTL0: FFFFFD00H, CB1CTL0: FFFFFD10H
7
6
Note
CBnRXE
n = 0, 1
Stop clock operation (asynchronously reset CSIBn).
Enable clock operation.
Note
Specification of transmission operation stop or enable
Stop transmission.
Enable transmission.
Note
Stop reception.
Enable reception.
Note
Specification of transfer direction mode (MSB/LSB)
also be set to 1 at the same time as rewriting these bits.
5
4
3
Note
Note
0
CBnDIR
Specification of CSIB operation stop or enable
Reception operation enable
MSB first
LSB first
User's Manual U16702EE3V2UD00
2
1
0
R/W
Note
0
CBnSCE
R/W 01H
CBnTMS
After
Reset

Advertisement

Table of Contents
loading

Table of Contents