|
ALT_STATUS_CODE | alt_i2c_init (const ALT_I2C_CTLR_t i2c, ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_reset (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_uninit (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_enable (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_disable (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_is_enabled (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_master_config_get (ALT_I2C_DEV_t *i2c_dev, ALT_I2C_MASTER_CONFIG_t *cfg) |
|
ALT_STATUS_CODE | alt_i2c_master_config_set (ALT_I2C_DEV_t *i2c_dev, const ALT_I2C_MASTER_CONFIG_t *cfg) |
|
ALT_STATUS_CODE | alt_i2c_master_config_speed_get (ALT_I2C_DEV_t *i2c_dev, const ALT_I2C_MASTER_CONFIG_t *cfg, uint32_t *speed_in_hz) |
|
ALT_STATUS_CODE | alt_i2c_master_config_speed_set (ALT_I2C_DEV_t *i2c_dev, ALT_I2C_MASTER_CONFIG_t *cfg, uint32_t speed_in_hz) |
|
ALT_STATUS_CODE | alt_i2c_slave_config_get (ALT_I2C_DEV_t *i2c_dev, ALT_I2C_SLAVE_CONFIG_t *cfg) |
|
ALT_STATUS_CODE | alt_i2c_slave_config_set (ALT_I2C_DEV_t *i2c_dev, const ALT_I2C_SLAVE_CONFIG_t *cfg) |
|
ALT_STATUS_CODE | alt_i2c_sda_hold_time_get (ALT_I2C_DEV_t *i2c_dev, uint16_t *hold_time) |
|
ALT_STATUS_CODE | alt_i2c_sda_hold_time_set (ALT_I2C_DEV_t *i2c_dev, const uint16_t hold_time) |
|
ALT_STATUS_CODE | alt_i2c_op_mode_get (ALT_I2C_DEV_t *i2c_dev, ALT_I2C_MODE_t *mode) |
|
ALT_STATUS_CODE | alt_i2c_op_mode_set (ALT_I2C_DEV_t *i2c_dev, const ALT_I2C_MODE_t mode) |
|
ALT_STATUS_CODE | alt_i2c_is_busy (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_read (ALT_I2C_DEV_t *i2c_dev, uint8_t *value) |
|
ALT_STATUS_CODE | alt_i2c_write (ALT_I2C_DEV_t *i2c_dev, const uint8_t value) |
|
ALT_STATUS_CODE | alt_i2c_slave_receive (ALT_I2C_DEV_t *i2c_dev, uint8_t *data) |
|
ALT_STATUS_CODE | alt_i2c_slave_transmit (ALT_I2C_DEV_t *i2c_dev, const uint8_t data) |
|
ALT_STATUS_CODE | alt_i2c_slave_bulk_transmit (ALT_I2C_DEV_t *i2c_dev, const void *data, const size_t size) |
|
ALT_STATUS_CODE | alt_i2c_master_target_get (ALT_I2C_DEV_t *i2c_dev, uint32_t *target_addr) |
|
ALT_STATUS_CODE | alt_i2c_master_target_set (ALT_I2C_DEV_t *i2c_dev, uint32_t target_addr) |
|
ALT_STATUS_CODE | alt_i2c_master_transmit (ALT_I2C_DEV_t *i2c_dev, const void *data, const size_t size, const bool issue_restart, const bool issue_stop) |
|
ALT_STATUS_CODE | alt_i2c_master_receive_helper (ALT_I2C_DEV_t *i2c_dev, uint8_t *buffer, size_t size, bool issue_restart, bool issue_stop) |
|
ALT_STATUS_CODE | alt_i2c_master_receive (ALT_I2C_DEV_t *i2c_dev, void *data, const size_t size, const bool issue_restart, const bool issue_stop) |
|
ALT_STATUS_CODE | alt_i2c_issue_write (ALT_I2C_DEV_t *i2c_dev, const uint8_t value, const bool issue_restart, const bool issue_stop) |
|
ALT_STATUS_CODE | alt_i2c_issue_read (ALT_I2C_DEV_t *i2c_dev, const bool issue_restart, const bool issue_stop) |
|
ALT_STATUS_CODE | alt_i2c_master_general_call (ALT_I2C_DEV_t *i2c_dev, const void *data, const size_t size, const bool issue_restart, const bool issue_stop) |
|
ALT_STATUS_CODE | alt_i2c_general_call_ack_disable (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_general_call_ack_enable (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_general_call_ack_is_enabled (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_int_status_get (ALT_I2C_DEV_t *i2c_dev, uint32_t *status) |
|
ALT_STATUS_CODE | alt_i2c_int_raw_status_get (ALT_I2C_DEV_t *i2c_dev, uint32_t *status) |
|
ALT_STATUS_CODE | alt_i2c_int_clear (ALT_I2C_DEV_t *i2c_dev, const uint32_t mask) |
|
ALT_STATUS_CODE | alt_i2c_int_disable (ALT_I2C_DEV_t *i2c_dev, const uint32_t mask) |
|
ALT_STATUS_CODE | alt_i2c_int_enable (ALT_I2C_DEV_t *i2c_dev, const uint32_t mask) |
|
ALT_STATUS_CODE | alt_i2c_tx_abort_cause_get (ALT_I2C_DEV_t *i2c_dev, ALT_I2C_TX_ABORT_CAUSE_t *cause) |
|
ALT_STATUS_CODE | alt_i2c_rx_fifo_is_empty (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_rx_fifo_is_full (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_rx_fifo_level_get (ALT_I2C_DEV_t *i2c_dev, uint32_t *num_entries) |
|
ALT_STATUS_CODE | alt_i2c_rx_fifo_threshold_get (ALT_I2C_DEV_t *i2c_dev, uint8_t *threshold) |
|
ALT_STATUS_CODE | alt_i2c_rx_fifo_threshold_set (ALT_I2C_DEV_t *i2c_dev, const uint8_t threshold) |
|
ALT_STATUS_CODE | alt_i2c_tx_fifo_is_empty (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_tx_fifo_is_full (ALT_I2C_DEV_t *i2c_dev) |
|
ALT_STATUS_CODE | alt_i2c_tx_fifo_level_get (ALT_I2C_DEV_t *i2c_dev, uint32_t *num_entries) |
|
ALT_STATUS_CODE | alt_i2c_tx_fifo_threshold_get (ALT_I2C_DEV_t *i2c_dev, uint8_t *threshold) |
|
ALT_STATUS_CODE | alt_i2c_tx_fifo_threshold_set (ALT_I2C_DEV_t *i2c_dev, const uint8_t threshold) |
|
ALT_STATUS_CODE | alt_i2c_rx_dma_threshold_get (ALT_I2C_DEV_t *i2c_dev, uint8_t *threshold) |
|
ALT_STATUS_CODE | alt_i2c_rx_dma_threshold_set (ALT_I2C_DEV_t *i2c_dev, uint8_t threshold) |
|
ALT_STATUS_CODE | alt_i2c_tx_dma_threshold_get (ALT_I2C_DEV_t *i2c_dev, uint8_t *threshold) |
|
ALT_STATUS_CODE | alt_i2c_tx_dma_threshold_set (ALT_I2C_DEV_t *i2c_dev, uint8_t threshold) |
|