Operations And Setting Procedure Example - Fujitsu MB95630H Series Hardware Manual

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

2
CHAPTER 24 I
C BUS INTERFACE

24.6 Operations and Setting Procedure Example

24.6
Operations and Setting Procedure Example
This section describes the operations of the I
■ Operations of I
2
● I
2
C bus interface
2
The I
C bus interface is an 8-bit serial interface synchronized with a shift clock. It conforms to
2
the I
C bus specification defined by Philips.
● MCU standby mode wakeup function
The wakeup function wakes up the MCU upon detection of a start condition, from low power
consumption mode such as stop or watch mode.
■ Setting Procedure Example
Below is an example of procedure for setting the I
● Initial settings
1. Set the port for input. (DDR)
2. Set the interrupt level. (ILR*)
3. Set the slave address. (IAARn)
4. Select the clock and enable I
5. Enable bus error interrupt requests. (IBCR1n:BEIE = 1)
*: For details of the interrupt level setting register (ILR), refer to "CHAPTER 5 INTERRUPTS" in this
hardware manual and "■ INTERRUPT SOURCE TABLE" in the device data sheet.
● Interrupt processing
1. Execute any process.
2. Clear the bus error interrupt request flag. (IBCR1n:BER = 0)
502
C Bus Interface
2
C operation. (ICCRn)
FUJITSU SEMICONDUCTOR LIMITED
MB95630H Series
2
C bus interface.
2
C bus interface.
MN702-00009-1v0-E

Advertisement

Table of Contents
loading

Table of Contents