Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_sensorif_nano120.c File Reference
#include <stdio.h>
#include "Nano100Series.h"
#include "i2c.h"
#include "sys.h"
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_sensorif.h"
#include "cascoda-bm/cascoda_spi.h"
#include "cascoda-bm/cascoda_types.h"
#include "cascoda-util/cascoda_time.h"
#include "ca821x_api.h"
#include "cascoda_chili.h"
Include dependency graph for cascoda_sensorif_nano120.c:

Functions

void SENSORIF_I2C_Config (u32_t portnum)
 Set I2C Configuration. More...
 
enum sensorif_i2c_status SENSORIF_I2C_Write (u8_t slaveaddr, u8_t *pdata, u32_t *plen)
 Writes bytes to I2C slave. More...
 
enum sensorif_i2c_status SENSORIF_I2C_Read (u8_t slaveaddr, u8_t *pdata, u32_t *plen)
 Reads bytes from I2C slave. More...
 
void SENSORIF_I2C_Init (void)
 Initialises and enables I2C interface. More...
 
void SENSORIF_I2C_Deinit (void)
 Disables I2C interface. More...