19#ifndef CC26XX_CC13XX_I2C_H
20#define CC26XX_CC13XX_I2C_H
62#define MCR_MFE 0x00000010
77#define MTPR_TPR_100KHZ 0x00000017
86#define MSA_RS 0x00000001
95#define MSTAT_BUSBSY 0x00000040
102#define MSTAT_IDLE 0x00000020
109#define MSTAT_ARBLST 0x00000010
116#define MSTAT_DATACK_N 0x00000008
123#define MSTAT_ADRACK_N 0x00000004
130#define MSTAT_ERR 0x00000002
145#define MSTAT_BUSY 0x00000001
158#define MCTRL_ACK 0x00000008
168#define MCTRL_STOP 0x00000004
177#define MCTRL_START 0x00000002
186#define MCTRL_RUN 0x00000001
192#define I2C_BASE (PERIPH_BASE + 0x2000)
195#define I2C ((i2c_regs_t *) (I2C_BASE))
CC26xx, CC13xx definitions.
volatile uint32_t reg32_t
Unsigned 32-bit register type.
reg32_t SMIS
slave masked interrupt status
reg32_t SICR
slave interrupt clear
reg32_t SIMR
slave interrupt mask
reg32_t SRIS
slave raw interrupt status
reg32_t MCR
master configuration
reg32_t MCTRL
master control
reg32_t SCTL
slave control
reg32_t MRIS
master raw interrupt status
reg32_t SSTAT
slave status
reg32_t MSA
master slave address
reg32_t MIMR
master interrupt mask
reg32_t MTPR
master timer period
reg32_t MMIS
master masked interrupt statues
reg32_t SOAR
slave own address
reg32_t MICR
master interrupt clear
reg32_t MSTAT
master status