|
void | HAL_I2C_MspInit (I2C_HandleTypeDef *hi2c) |
|
static void | init_i2c (struct st_device *dev) |
|
static int | i2c_register (struct st_device *dev, char *param) |
|
static int | i2c_open (struct st_device *dev) |
|
static int | i2c_close (struct st_device *dev) |
|
static int | i2c_read (struct st_device *dev, void *data, unsigned int size) |
|
static int | i2c_write (struct st_device *dev, const void *data, unsigned int size) |
|
static int | i2c_set_speed (I2C_TypeDef *i2cx, int speed) |
|
static int | i2c_ioctl (struct st_device *dev, unsigned int com, unsigned int arg, void *param) |
|
static int | i2c_seek (struct st_device *dev, int offset, int whence) |
|
static int | i2c_suspend (struct st_device *dev) |
|
static int | i2c_resume (struct st_device *dev) |
|
STM32F4 I2Cドライバ
- 日付
- 2015.08.10
- 著者
- Takashi SHUDO
PB8 - I2C1_SCL PB9 - I2C1_SDA
i2c.c に定義があります。