#include <stdio.h>

#define I2C_START_REG 	(volatile uint32_t *) (I2C_BASE_ADDRESS + 0x0)
#define I2C_DATA_REG 	(volatile uint32_t *) (I2C_BASE_ADDRESS + 0x4)
#define I2C_STATUS_REG 	(volatile uint32_t *) (I2C_BASE_ADDRESS + 0x8)
#define I2C_RDATA_REG 	(volatile uint32_t *) (I2C_BASE_ADDRESS + 0xC)

void config_rosatosa(void);

uint32_t RD_I2C_START_REG;
uint32_t RD_I2C_DATA_REG;
uint32_t RD_I2C_STATUS_REG;
uint32_t RD_I2C_RDATA_REG_0;
uint32_t RD_I2C_RDATA_REG_1;
uint32_t RD_I2C_RDATA_REG_2;
uint32_t RD_I2C_RDATA_REG_3;
uint32_t RD_I2C_RDATA_REG_4;
uint32_t RD_I2C_RDATA_REG_5;
uint32_t RD_I2C_RDATA_REG_6;
uint32_t RD_I2C_RDATA_REG_7;
uint32_t RD_I2C_RDATA_REG_8;
uint32_t RD_I2C_RDATA_REG_9;
uint32_t RD_I2C_RDATA_REG_A;
uint32_t RD_I2C_RDATA_REG_B;
uint32_t RD_I2C_RDATA_REG_C;
uint32_t RD_I2C_RDATA_REG_D;
uint32_t RD_I2C_RDATA_REG_E;
uint32_t RD_I2C_RDATA_REG_F;
uint32_t RD_I2C_RDATA_REG_10;
volatile int a;
