FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
i2c_periph.h File Reference

Data Structures

struct  i2c_t
 
union  i2c_status_t
 
union  i2c_setup_t
 

Macros

STATUS
#define I2C_STATUS_BUSY_MASK
 
#define I2C_STATUS_BUSY_SHIFT
 
#define I2C_STATUS_BUSY(val)
 
#define I2C_STATUS_ARB_LOST_MASK
 
#define I2C_STATUS_ARB_LOST_SHIFT
 
#define I2C_STATUS_ARB_LOST(val)
 
SETUP
#define I2C_SETUP_DO_RST_MASK
 
#define I2C_SETUP_DO_RST_SHIFT
 
#define I2C_SETUP_DO_RST(val)
 
#define I2C_CMD_MASK
 
#define I2C_CMD_SHIFT
 
#define I2C_CMD_START
 
#define I2C_CMD_WAIT_EV
 
#define I2C_CMD_STOP
 
#define I2C_CMD_RD_ACK
 
#define I2C_CMD_RD_NACK
 
#define I2C_CMD_WR
 
#define I2C_CMD_WAIT
 
#define I2C_CMD_RPT
 
#define I2C_CMD_CFG
 

Macro Definition Documentation

#define I2C_CMD_MASK
#define I2C_CMD_RD_ACK

Referenced by __pi_i2c_copy_exec_read().

#define I2C_CMD_RD_NACK
#define I2C_CMD_SHIFT
#define I2C_CMD_START
#define I2C_CMD_WAIT

Referenced by __pi_i2c_open().

#define I2C_CMD_WAIT_EV
#define I2C_SETUP_DO_RST (   val)

Referenced by hal_i2c_reset_set().

#define I2C_SETUP_DO_RST_MASK

Referenced by hal_i2c_do_reset_get().

#define I2C_SETUP_DO_RST_SHIFT
#define I2C_STATUS_ARB_LOST (   val)

Referenced by hal_i2c_arbitration_set().

#define I2C_STATUS_ARB_LOST_MASK
#define I2C_STATUS_ARB_LOST_SHIFT

Referenced by hal_i2c_arbitration_get().

#define I2C_STATUS_BUSY (   val)
#define I2C_STATUS_BUSY_MASK

Referenced by hal_i2c_busy_get().

#define I2C_STATUS_BUSY_SHIFT