Contiki-NG

Implementation of the I2C HAL driver for CC13xx/CC26xx. More...

#include "contiki.h"
#include "i2c-arch.h"
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Functions

bool i2c_arch_write_read (I2C_Handle i2c_handle, uint_least8_t slave_addr, void *wbuf, size_t wcount, void *rbuf, size_t rcount)
 Setup and peform an I2C transaction. More...
 
void i2c_arch_release (I2C_Handle i2c_handle)
 Release the I2C Peripheral for other modules to use. More...
 
I2C_Handle i2c_arch_acquire (uint_least8_t index)
 Open and lock the I2C Peripheral for use. More...
 

Detailed Description

Implementation of the I2C HAL driver for CC13xx/CC26xx.

Author
Edvard Pettersen e.pet.nosp@m.ters.nosp@m.en@ti.nosp@m..com
George Oikonomou georg.nosp@m.e@co.nosp@m.ntiki.nosp@m.-ng..nosp@m.org

Definition in file i2c-arch.c.