Notes On I 2 C Bus Interface - Renesas R8C Series User Manual

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

Advertisement

R8C/1A Group, R8C/1B Group
16.3.8
Notes on I
Set the IICSEL bit in the PMR register to 1 (select I
16.3.8.1
Accessing of Registers Associated with I
Wait for three instructions or more or four cycles or more after writing to the same register among the registers
associated with the I
An example of waiting three instructions or more
Program example
An example of waiting four cycles or more
Program example
Rev.1.30
Dec 08, 2006
REJ09B0252-0130
2
C bus Interface
2
C bus Interface (00B8h to 00BFh) before reading it.
MOV.B
#00h,00BBh
NOP
NOP
NOP
MOV.B
00BBh,R0L
BCLR
6,00BBh
JMP.B
NEXT
NEXT:
BSET
7,00BBh
Page 231 of 315
16. Clock Synchronous Serial Interface
2
C bus interface function) to use the I
2
C bus Interface
; Set ICIER register to 00h
; Disable transmit end interrupt request
; Enable transmit data empty interrupt request
2
C bus interface.

Advertisement

Table of Contents
loading

Table of Contents