Atmel Software Framework

avr32/drivers/twi/master_example/twi_master_example.c File Reference
#include <avr32/io.h>
#include "board.h"
#include "print_funcs.h"
#include "gpio.h"
#include "pm.h"
#include "twi.h"

Macros

#define EEPROM_ADDR_LGT   3
 
#define EEPROM_ADDRESS   0x50
 
#define PATTERN_TEST_LENGTH   (sizeof(test_pattern)/sizeof(U8))
 Constants to define the sent and received pattern. More...
 
#define TWI_SPEED   50000
 
#define VIRTUALMEM_ADDR_START   0x123456
 

Functions

int main (void)
 Main function. More...
 

Variables

const U8 test_pattern []
 

#define EEPROM_ADDR_LGT   3

Referenced by main().

#define EEPROM_ADDRESS   0x50

Referenced by main().

#define PATTERN_TEST_LENGTH   (sizeof(test_pattern)/sizeof(U8))

Constants to define the sent and received pattern.

Referenced by main().

#define TWI_SPEED   50000

Referenced by main().

#define VIRTUALMEM_ADDR_START   0x123456

Referenced by main().

const U8 test_pattern[]
Initial value:
= {
0xAA,
0x55,
0xA5,
0x5A,
0x77,
0x99}