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 AT24CXX_TWI (&AVR32_TWIM0) |
Definition at line 52 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_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 |
#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 |