16 #ifndef __SILICON_LABS_I2CSPM_H__
17 #define __SILICON_LABS_I2CSPM_H__
19 #include "i2cspmconfig.h"
58 #if defined (_I2C_ROUTELOC0_MASK)
72 #if !defined( I2CSPM_INIT_DEFAULT )
73 #define I2CSPM_INIT_DEFAULT \
81 I2C_FREQ_STANDARD_MAX, \
82 i2cClockHLRStandard, \
I2C_TransferReturn_TypeDef I2CSPM_Transfer(I2C_TypeDef *i2c, I2C_TransferSeq_TypeDef *seq)
Perform I2C transfer.
GPIO_Port_TypeDef sclPort
void I2CSPM_Init(I2CSPM_Init_TypeDef *init)
Initalize I2C peripheral.
GPIO_Port_TypeDef sdaPort
I2C_TransferReturn_TypeDef
I2C_ClockHLR_TypeDef i2cClhr
General Purpose IO (GPIO) peripheral API.
Master mode transfer message structure used to define a complete I2C transfer sequence (from start to...
Inter-intergrated circuit (I2C) peripheral API.