conf_at24cxx.h File Reference


Detailed Description

AT24Cxx configuration.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file conf_at24cxx.h.

#include "board.h"

Go to the source code of this file.

Defines

#define AT24CXX_TWI   (&AVR32_TWIM0)
#define AT24CXX_TWI_ADDRESS   0x50
#define AT24CXX_TWI_MASTER_SPEED   100000
#define AT24CXX_TWI_SCL_FUNCTION   AVR32_TWIMS0_TWCK_0_0_FUNCTION
#define AT24CXX_TWI_SCL_PIN   AVR32_TWIMS0_TWCK_0_0_PIN
#define AT24CXX_TWI_SDA_FUNCTION   AVR32_TWIMS0_TWD_0_0_FUNCTION
#define AT24CXX_TWI_SDA_PIN   AVR32_TWIMS0_TWD_0_0_PIN


Define Documentation

#define AT24CXX_TWI   (&AVR32_TWIM0)

#define AT24CXX_TWI_ADDRESS   0x50

The I2C address is fixed for the AT24CXX device.

Definition at line 59 of file conf_at24cxx.h.

Referenced by at24cxx_read_byte(), at24cxx_read_continuous(), at24cxx_write_byte(), at24cxx_write_continuous(), and twi_init().

#define AT24CXX_TWI_MASTER_SPEED   100000

The AT42QT1060 can do max 100kHz on the TWI.

Definition at line 62 of file conf_at24cxx.h.

Referenced by twi_init().

#define AT24CXX_TWI_SCL_FUNCTION   AVR32_TWIMS0_TWCK_0_0_FUNCTION

Definition at line 54 of file conf_at24cxx.h.

Referenced by twi_init().

#define AT24CXX_TWI_SCL_PIN   AVR32_TWIMS0_TWCK_0_0_PIN

Definition at line 53 of file conf_at24cxx.h.

Referenced by twi_init().

#define AT24CXX_TWI_SDA_FUNCTION   AVR32_TWIMS0_TWD_0_0_FUNCTION

Definition at line 56 of file conf_at24cxx.h.

Referenced by twi_init().

#define AT24CXX_TWI_SDA_PIN   AVR32_TWIMS0_TWD_0_0_PIN

Definition at line 55 of file conf_at24cxx.h.

Referenced by twi_init().


Generated on Fri Feb 19 02:23:48 2010 for AVR32 UC3 - EPPROM -AT24CXX by  doxygen 1.5.5