|
GPS Device
|
I2C driver implementation for STM32F401RE. More...

Go to the source code of this file.
Functions | |
| static void | i2c_set_pclk (I2C_REGDEF_ts const *i2c_instance, EN_STATUS_te en_status) |
| Enables or disables the peripheral clock for an I2C instance. | |
| void | i2c_init (I2C_CFG_ts *i2c_cfg) |
| Initializes the I2C peripheral with the given configuration. | |
| void | i2c_deinit (I2C_REGDEF_ts const *i2c_instance) |
| Deinitializes the I2C peripheral and disables its clock. | |
| void | i2c_master_send (I2C_REGDEF_ts *i2c_instance, uint8_t slave_addr, uint8_t *tx_buffer, uint32_t len) |
| Blocking I2C master transmit. | |
| void | i2c_master_send_continue (I2C_REGDEF_ts *i2c_instance, uint8_t *tx_buffer, uint32_t len) |
| Continues a transmission without a new START or address phase. | |
| void | i2c_master_receive (I2C_REGDEF_ts *i2c_instance, uint8_t slave_addr, uint8_t *rx_buffer, uint32_t len) |
| Blocking I2C master receive. | |
| void | i2c_master_set_comm (I2C_REGDEF_ts *i2c_instance, EN_STATUS_te en_status) |
| Enables or disables the I2C peripheral and controls bus ownership. | |
| void | i2c_get_name (I2C_REGDEF_ts const *i2c_instance, char *name) |
| Returns the name string of an I2C peripheral instance. | |
I2C driver implementation for STM32F401RE.
Definition in file stm32f401re_i2c.c.