|
M16C30P_07 Datasheet, PDF (165/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES | |||
|
◁ |
M16C/30P Group
15. Serial Interface
Table 15.12 Registers to Be Used and Settings in I2C Mode (2)
Register
Bit
Function
UiSMR3
UiSMR4
IFSR2A
UCON
Master
Slave
0, 2, 4 and NODC Set to â0â
Set to â0â
CKPH
See Table 15.13 I2C Mode Functions See Table 15.13 I2C Mode Functions
DL2 to DL0
Set the amount of SDAi digital delay
Set the amount of SDAi digital delay
STAREQ
Set this bit to â1â to generate start
condition
Set to â0â
RSTAREQ
Set this bit to â1â to generate restart
condition
Set to â0â
STPREQ
Set this bit to â1â to generate stop
condition
Set to â0â
STSPSEL
Set this bit to â1â to output each condition Set to â0â
ACKD
Select ACK or NACK
Select ACK or NACK
ACKC
Set this bit to â1â to output ACK data
Set this bit to â1â to output ACK data
SCLHI
Set this bit to â1â to have SCLi output
Set to â0â
stopped when stop condition is detected
SWC9
Set to â0â
Set this bit to â1â to set the SCLi to âLâ hold
at the falling edge of the 9th bit of clock
IFSR26, ISFR27 Set to â1â
Set to â1â
U0IRS, U1IRS Invalid
Invalid
U0RRM, U1RRM Set to â0â
Set to "0"
CLKMD0
Set to "0"
Set to "0"
CLKMD1
Set to "0"
Set to "0"
RCSP
Set to "0"
Set to "0"
7
Set to "0"
Set to "0"
i=0 to 2
Rev.1.22 Mar 29, 2007 Page 149 of 291
REJ09B0179-0122
|
▷ |