#ifndef nats_i2c_h
#define nats_i2c_h

#define NATS_I2C1_ADDR          0x40005400

#define NATS_I2C_CR1_ADDR           0x0
#define NATS_I2C_CR2_ADDR           0x4
#define NATS_I2C_OAR1_ADDR          0x8
#define NATS_I2C_OAR2_ADDR          0xC
#define NATS_I2C_DR_ADDR            0x10
#define NATS_I2C_SR1_ADDR           0x14
#define NATS_I2C_SR2_ADDR           0x18
#define NATS_I2C_CCR_ADDR           0x1C
#define NATS_I2C_TRISE_ADDR         0x20

#endif