EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
i2cspm.c 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.c.

#include <stddef.h>
#include "em_cmu.h"
#include "em_gpio.h"
#include "i2cspmconfig.h"
#include "i2cspm.h"
#include "em_assert.h"

Go to the source code of this file.

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...