EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
i2cspm.h File Reference

Detailed Description

I2C simple poll-based master mode driver for the DK/STK.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file i2cspm.h.

#include "i2cspmconfig.h"
#include "em_gpio.h"
#include "em_i2c.h"

Go to the source code of this file.

Data Structures

struct  I2CSPM_Init_TypeDef
 

Macros

#define I2CSPM_INIT_DEFAULT
 

Functions

void I2CSPM_Init (I2CSPM_Init_TypeDef *init)
 Initalize I2C peripheral. More...
 
I2C_TransferReturn_TypeDef I2CSPM_Transfer (I2C_TypeDef *i2c, I2C_TransferSeq_TypeDef *seq)
 Perform I2C transfer. More...