|
GPS Device
|
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. | |
|
static |
Enables or disables the peripheral clock for an I2C instance.
Routes to the appropriate RCC APB1 clock enable/disable call based on the instance pointer. Called by i2c_init and i2c_deinit.
| [in] | i2c_instance | Pointer to the I2C peripheral instance. |
| [in] | en_status | ENABLE to enable the clock, DISABLE to disable it. |
Definition at line 250 of file stm32f401re_i2c.c.

