I 2 C Operations And Setup Procedure Examples - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

2
22.7
I
C Operations and Setup Procedure Examples
This section describes the operation of I
2
Operation of I
C
2
I
C interface
2
The I
C interface is an eight-bit serial interface synchronized with a shift clock. It conforms to the I
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.
Setup Procedure Examples
Use the following procedure to set up I
Initialization
1) Set the port for input (DDR0).
2) Set the interrupt level (ILR2, ILR4).
3) Set the slave address (IAAR0).
4) Select the clock and enable I
5) Enable bus error interrupt requests (IBCR00:BEIE = 1).
Interrupt processing
1) Arbitrary processing
2) Clear the bus error interrupt request flag (IBCR00:BER = 0).
2
C.
2
C:
2
C operation (ICCR0).
2
CHAPTER 22 I
C
2
C bus
395

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents