Line 1: Line 1:
 
[[Category:AVR Tutorials]]
 
[[Category:AVR Tutorials]]
 +
 +
=Basics=
 +
 +
The I²C (Inter-Integrated Circuit) protocol, referred to as I-squared-C, I-two-C, or IIC) is two wire serial communication protocol for connecting low speed peripherals to a micrcontroller or computer motherboard.
 +
You can go through [[I2C/TWI Basics|I²C /TWI Basics]] tutorials to understand how I²C works.
 +
 +
=Registers=
 +
====TWBR====
 +
====TWCR====
 +
====TWSR====
 +
====TWDR====
 
=Practical Example=
 
=Practical Example=
  
 
[[A6.AVR Interfacing: RTC DS1307|AVR Interfacing: RTC DS1307]]
 
[[A6.AVR Interfacing: RTC DS1307|AVR Interfacing: RTC DS1307]]

Revision as of 13:02, 4 February 2015


Basics

The I²C (Inter-Integrated Circuit) protocol, referred to as I-squared-C, I-two-C, or IIC) is two wire serial communication protocol for connecting low speed peripherals to a micrcontroller or computer motherboard. You can go through I²C /TWI Basics tutorials to understand how I²C works.

Registers

TWBR

TWCR

TWSR

TWDR

Practical Example

AVR Interfacing: RTC DS1307