Renesas M16C/29 Series Hardware Manual page 209

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
Table 14.1.3.2. Registers to Be Used and Settings in I
Register
Bit
U2TB
0 to 7
(Note 1)
U2RB
0 to 7
8
(Note 1)
ABT
OER
U2BRG 0 to 7
U2MR
SMD2 to SMD0
CKDIR
(Note 1)
IOPOL
U2C0
CLK1, CLK0
CRS
TXEPT
CRD
NCH
CKPOL
UFORM
U2C1
TE
TI
RE
RI
U2IRS
U2RRM,
U2LCH, U2ERE
U2SMR IICM
ABC
BBS
3 to 7
U2SMR2 IICM2
CSC
SWC
ALS
STAC
SWC2
SDHI
7
U2SMR3 0, 2, 4 and NODC Set to "0"
CKPH
DL2 to DL0
Note 1: Not all register bits are described above. Set those bits to "0" when writing to the registers in I
mode.
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Master
Set transmission data
Reception data can be read
ACK or NACK is set in this bit
Arbitration lost detection flag
Overrun error flag
Set a transfer rate
Set to '010
'
2
Set to "0"
Set to "0"
Select the count source for the U2BRG
register
Invalid because CRD = 1
Transmit buffer empty flag
Set to "1"
Set to "1"
Set to "0"
Set to "1"
Set this bit to "1" to enable transmission
Transmit buffer empty flag
Set this bit to "1" to enable reception
Reception complete flag
Invalid
Set to "0"
Set to "1"
Select the timing at which arbitration-lost Invalid
is detected
Bus busy flag
Set to "0"
2
Refer to Table "I
C Mode Functions"
Set this bit to "1" to enable clock
synchronization
Set this bit to "1" to have SCL
fixed to "L" at the falling edge of the 9th
bit of clock
Set this bit to "1" to have SDA
stopped when arbitration-lost is detected
Set to "0"
Set this bit to "1" to have SCL
forcibly pulled low
Set this bit to "1" to disable SDA
Set to "0"
2
Refer to Table "I
C Mode Functions"
Set the amount of SDA
page 189 of 402
14.1.3 Special Mode 1 (I
2
C bus Mode (1) (Continued)
Function
Set transmission data
Reception data can be read
ACK or NACK is set in this bit
Invalid
Overrun error flag
Invalid
Set to '010
Set to "1"
Set to "0"
Invalid
Invalid because CRD = 1
Transmit buffer empty flag
Set to "1"
Set to "1"
Set to "0"
Set to "1"
Set this bit to "1" to enable transmission
Transmit buffer empty flag
Set this bit to "1" to enable reception
Reception complete flag
Invalid
Set to "0"
Set to "1"
Bus busy flag
Set to "0"
Refer to Table " I
Set to "0"
output
Set this bit to "1" to have SCL
2
fixed to "L" at the falling edge of the 9
bit of clock
output
Set to "0"
2
Set this bit to "1" to initialize UART2 at
start condition detection
output
Set this bit to "1" to have SCL
2
forcibly pulled low
output
Set this bit to "1" to disable SDA
2
Set to "0"
Set to "0"
Refer to Table "I
digital delay
Set the amount of SDA
2
2
C bus mode) (UART2)
Slave
'
2
2
C Mode Functions"
output
2
output
2
output
2
2
C Mode Functions"
digital delay
2
2
th
C bus

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents