FreeRTOS port on GAP8/RISC-V
|
Functions | |
static void | i2c_udma_channel_set (uint32_t device_id, udma_channel_e channel, uint32_t l2buf, uint32_t size, uint32_t cfg) |
static void | i2c_status_set (uint32_t device_id, uint32_t status) |
static uint32_t | i2c_status_get (uint32_t device_id) |
static void | i2c_setup_set (uint32_t device_id, uint32_t setup) |
static uint32_t | i2c_setup_get (uint32_t device_id) |
static uint32_t | hal_i2c_busy_get (uint32_t device_id) |
static void | hal_i2c_arbitration_set (uint32_t device_id, uint8_t value) |
static uint32_t | hal_i2c_arbitration_get (uint32_t device_id) |
static void | hal_i2c_reset_set (uint32_t device_id, uint8_t value) |
static uint32_t | hal_i2c_do_reset_get (uint32_t device_id) |
static void | hal_i2c_enqueue (uint32_t device_id, uint32_t channel, uint32_t l2buf, uint32_t size, uint32_t cfg) |
|
inlinestatic |
References I2C_STATUS_ARB_LOST_MASK, I2C_STATUS_ARB_LOST_SHIFT, and i2c_status_get().
|
inlinestatic |
References I2C_STATUS_ARB_LOST, I2C_STATUS_ARB_LOST_MASK, i2c_status_get(), and i2c_status_set().
|
inlinestatic |
|
inlinestatic |
References I2C_SETUP_DO_RST_MASK, and i2c_setup_get().
|
inlinestatic |
UDMA.
References i2c_udma_channel_set().
Referenced by __pi_i2c_copy_exec_read(), __pi_i2c_copy_exec_write(), __pi_i2c_detect(), and __pi_i2c_send_stop_cmd().
|
inlinestatic |
SETUP.
References I2C_SETUP_DO_RST, and i2c_setup_set().
|
inlinestatic |
References hal_read32(), and i2c.
Referenced by hal_i2c_do_reset_get().
|
inlinestatic |
References hal_write32(), and i2c.
Referenced by hal_i2c_reset_set().
|
inlinestatic |
References hal_read32(), and i2c.
Referenced by hal_i2c_arbitration_get(), hal_i2c_arbitration_set(), and hal_i2c_busy_get().
|
inlinestatic |
References hal_write32(), and i2c.
Referenced by hal_i2c_arbitration_set().
|
inlinestatic |
References i2c, and udma_enqueue_channel().
Referenced by hal_i2c_enqueue().